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

ResponseErrorLiteral

interface ResponseErrorLiteral <D = void> {
code: number;
data?: D;
message: string;
}

§Type Parameters

§
D = void
[src]

§Properties

§
code: number
[src]

A number indicating the error type that occurred.

§
data?: D
[src]

A Primitive or Structured value that contains additional information about the error. Can be omitted.

§
message: string
[src]

A string providing a short description of the error.