RestError

Class representing a REST error.

Signature

export declare class RestError extends Error

JSDoc

@classRestError@extendsError

Properties

timestamp: number;

The timestamp of the response.

@type{number}
status: number;

The status of the response.

@type{number}
error: string;

The error of the response.

@type{string}
path: string;

The path of the response.

@type{string}
trace?: string;

The trace of the response.

@type{string}

Methods