Interface ErrorResponseForbidden

Shared fields between all error response variants.

Hierarchy

Properties

Properties

message: string

A brief explanation of the error.

null: {}

Type declaration

    status: number

    The HTTP status of the error.

    type: "FORBIDDEN"

    The error when a client has been succesfully authorized but does not have the required permissions to execute an action.


    Example

    {
    "type": "FORBIDDEN",
    "status": 403,
    "message": "The user is missing the requried permissions to execute this action",
    }