Represents details of an error.

interface ErrorDetails {
    code: string;
    details: string[];
    fieldErrors?: FieldError[];
    httpStatus?: number;
    message: string;
    scaDetails?: ScaAuthenticationEventResponse;
}

Properties

code: string

The error code.

details: string[]

Details for the errors of any parameter value.

fieldErrors?: FieldError[]

List of field errors associated with the main error.

httpStatus?: number

The HTTP status code.

Example

200, 400, 401, 403, 404, 500
message: string

The description of the error.

The SCA (Strong Customer Authentication) details for the error.

NOTE: This field is available only if the error is related to the SCA.