UNPKG

jsonbird

Version:

JSON-RPC 2.0 client/server/peer for any reliable transport. Inter-process communication. REST. WebSocket. WebWorker. Out of order messaging or in-order byte streams

14 lines (9 loc) 234 B
'use strict'; const RPCError = require('./RPCError'); class RPCResponseError extends RPCError { constructor(wrapped) { super(wrapped); this.name = 'RPCResponseError'; } } module.exports = RPCResponseError;