Options
All
  • Public
  • Public/Protected
  • All
Menu

Class RpcError

Hierarchy

Index

Properties

CONSTRUCTOR_ID: number
SUBCLASS_OF_ID: number
className: string
classType: "constructor" | "request"
originalArgs: { errorCode: number; errorMessage: string }

Type declaration

  • errorCode: number
  • errorMessage: string
CONSTRUCTOR_ID: 558156313
SUBCLASS_OF_ID: 1243079269
classType: "constructor"
className: "RpcError"
errorCode: number
errorMessage: string

Methods

  • serializeBytes(data: string | Buffer): Buffer
  • serializeDate(date: number | Date): Buffer
  • getBytes(): Buffer
  • toJSON(): { errorCode: number; errorMessage: string }

Constructors

  • new RpcError(args: { errorCode: number; errorMessage: string }): RpcError

Generated using TypeDoc