Interface IApiResponseMessage

An API response message.

interface IApiResponseMessage {
    code: Nullable<number>;
    id: Nullable<string>;
    internal: boolean;
    message: string;
    type: ApiResponseMessageType;
}

Properties

code: Nullable<number>

A human-readble error code.

id: Nullable<string>

The unique ID of an entry in a database, e.g.

internal: boolean

Indicates if it an internal message or a message, which can be read be an user.

message: string

The message text.

The type. Default: 'info'

Generated using TypeDoc