UNPKG

ndk-rpc-cluster

Version:

Enterprise-grade RPC cluster system with load balancing, fault tolerance, service discovery and automatic failover support

9 lines (8 loc) 204 B
class ApiError extends Error{ constructor(statusCode , message){ super(message); this.statusCode = statusCode; this.message = message; } } export default ApiError;