delphirtl • Docs
delphirtl / JSONRPCErrorException
Error
JSONRPCError
new JSONRPCErrorException(
message
,code
,data
?):JSONRPCErrorException
• message: string
• code: number
• data?: any
Error.constructor
node_modules/json-rpc-2.0/dist/models.d.ts:37
code:
number
JSONRPCError.code
node_modules/json-rpc-2.0/dist/models.d.ts:35
optional
data:any
JSONRPCError.data
node_modules/json-rpc-2.0/dist/models.d.ts:36
message:
string
JSONRPCError.message
Error.message
node_modules/typescript/lib/lib.es5.d.ts:1077
name:
string
Error.name
node_modules/typescript/lib/lib.es5.d.ts:1076
optional
stack:string
Error.stack
node_modules/typescript/lib/lib.es5.d.ts:1078
static
optional
prepareStackTrace: (err
,stackTraces
) =>any
Optional override for formatting stack traces
• err: Error
• stackTraces: CallSite
[]
any
https://v8.dev/docs/stack-trace-api#customizing-stack-traces
Error.prepareStackTrace
node_modules/@types/node/globals.d.ts:11
static
stackTraceLimit:number
Error.stackTraceLimit
node_modules/@types/node/globals.d.ts:13
toObject():
JSONRPCError
JSONRPCError
node_modules/json-rpc-2.0/dist/models.d.ts:38
static
captureStackTrace(targetObject
,constructorOpt
?):void
Create .stack property on a target object
• targetObject: object
• constructorOpt?: Function
void
Error.captureStackTrace
node_modules/@types/node/globals.d.ts:4