interface UnsuccessfulResponse {
    error: {
        msg: string;
    };
    success: false;
}

Properties

Properties

error: {
    msg: string;
}

If unsuccessful, the reason the request failed

success

Whether the request was successful