Class ErrorRPCRemote<T>

Type Parameters

  • T

Hierarchy

Constructors

Properties

cause: T

Causation of the exception Can be used to know what caused this exception

code: JSONRPCResponseErrorCode = JSONRPCResponseErrorCode.RPCRemote
data: POJO

Arbitrary data

message: string
metadata: JSONValue
name: string
stack?: string
timestamp: Date

Timestamp when exception was constructed in milliseconds Guaranteed to be weakly monotonic

description: string = 'Remote error from RPC call'
error: string = 'RPC Protocol Error'
message: string = 'The server responded with an error'
prepareStackTrace?: ((err, stackTraces) => any)

Type declaration

stackTraceLimit: number

Accessors

  • get description(): string
  • Returns string

Methods

  • Create .stack property on a target object

    Parameters

    • targetObject: object
    • Optional constructorOpt: Function

    Returns void

Generated using TypeDoc