Emitted when an error occurs.

interface ResponseErrorEvent {
    code: null | string;
    message: string;
    param: null | string;
    type: "error";
}

Properties

Properties

code: null | string

The error code.

message: string

The error message.

param: null | string

The error parameter.

type: "error"

The type of the event. Always error.