Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

ResponseMessage

A response message.

interface ResponseMessage extends Message {
error?: ResponseErrorLiteral<any>;
id: number | string | null;
result?:
| string
| number
| boolean
| object
| any[]
| null;
}

§Extends

§Properties

§

The error object in case a request fails.

§
id: number | string | null
[src]

The request id.

§
result?: string | number | boolean | object | any[] | null
[src]

The result of a request. This member is REQUIRED on success. This member MUST NOT exist if there was an error invoking the method.