@gradientedge/commercetools-utils
    Preparing search index...

    Interface ErrorResponse

    Base representation of an error response containing common fields to all errors.

    interface ErrorResponse {
        errors?: ErrorObject[];
        message: string;
        statusCode: number;
    }

    Hierarchy (View Summary)

    Index

    Properties

    errors?: ErrorObject[]

    Errors returned for a request.

    A single error response can contain multiple errors if the errors are related to the same HTTP status code such as `400`.
    
    message: string

    First error message in the errors array.

    statusCode: number

    HTTP status code corresponding to the error.