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

ErrorResponse

class ErrorResponse {
constructor(
status: number,
statusText: string | undefined,
data: any,
internal?: boolean,
);
data: any;
error?: Error;
internal: boolean;
status: number;
statusText: string;
}

§Constructors

§
new ErrorResponse(status: number, statusText: string | undefined, data: any, internal?: boolean)
[src]

§Properties

§
data: any
[src]
§
error: Error
[src]
§
internal: boolean
[src]
§
status: number
[src]
§
statusText: string
[src]