When thrown, indicates that the response from the server was invalid.

Hierarchy

Constructors

Properties

Constructors

Properties

code: ProcedureErrorCodes = ProcedureErrorCodes.INVALID_RESPONSE

The code used to identify the error type.

data?: Record<string, unknown>

An optional dictionary of data which will be passed to a procedure's caller when thrown.

message: string

A string indicating the cause of the error.

name: string = 'ProcedureInvalidResponseError'

The name of the error type.

Generated using TypeDoc