Skip to content

ErrorResponseMessage

Defined in: astrobase/src/rpc/shared/messages.ts:29

Type for an RPC error response message.

P extends string

optional error: string

Defined in: astrobase/src/rpc/shared/messages.ts:34

The error message of the response.


jobID: number

Defined in: astrobase/src/rpc/shared/messages.ts:7

The job ID. This is included in the response message to help track requests.

MessageBase.jobID


ok: false

Defined in: astrobase/src/rpc/shared/messages.ts:31

Determines whether this is a success or error response.


procedure: P

Defined in: astrobase/src/rpc/shared/messages.ts:10

The procedure name.

MessageBase.procedure