Interface Error

An object of this type can be returned on every function call, in case of an error.

interface Error {
    @type: "error";
    code: number;
    message: string;
}

Properties

Properties

@type: "error"
code: number

Error code; subject to future changes. If the error code is 406, the error message must not be processed in any way and must not be displayed to the user.

message: string

Error message; subject to future changes.