rest-vir - v1.0.0
    Preparing search index...

    Type Alias EndpointImplementationErrorOutput

    The part of EndpointImplementationOutput allowed for error responses.

    type EndpointImplementationErrorOutput = {
        dataType?: undefined;
        headers?: OutgoingHttpHeaders;
        responseData?: undefined;
        responseErrorMessage?: string;
        statusCode: HttpStatusByCategory<ErrorHttpStatusCategories>;
    }
    Index

    Properties

    dataType?: undefined
    headers?: OutgoingHttpHeaders
    responseData?: undefined
    responseErrorMessage?: string

    An error message which will get sent to the frontend.

    DO NOT INCLUDE SENSITIVE INFORMATION IN HERE.

    statusCode: HttpStatusByCategory<ErrorHttpStatusCategories>