Interface ErrorResponse

Description

Response from REST API. Unrecoverable error. No further requests are expected. Recommend starting over.

interface ErrorResponse {
    country?: keyof Countries;
    currentStep: "error";
    errorDetailId?: ErrorDetailId;
    errorIds: [ErrorId];
    lastResponse?: VerificationResponse;
    locale: "ar" | "bg" | "bn-IN" | "cs" | "da" | "de" | "el" | "en-GB" | "en-US" | "es-ES" | "es" | "fi" | "fr-CA" | "fr" | "ga" | "hi-IN" | "hr" | "hu" | "id" | "is" | "it" | "iw" | "ja" | "ko" | "lo" | "lt" | "ms" | "nl" | "nl-BE" | "no" | "pl" | "pt-BR" | "pt" | "ro" | "ru" | "sk" | "sl" | "sr" | "sv" | "sw" | "uk" | "ur" | "vi" | "th" | "tr" | "zh-HK" | "zh" | "zu";
    maxAge?: number;
    minAge?: number;
    redirectUrl: string;
    segment: Segment;
    subSegment: SubSegment;
    submissionUrl?: string;
    verificationId: string;
}

Hierarchy

Properties

country?: keyof Countries
currentStep: "error"
errorDetailId?: ErrorDetailId
errorIds: [ErrorId]
lastResponse?: VerificationResponse
locale: "ar" | "bg" | "bn-IN" | "cs" | "da" | "de" | "el" | "en-GB" | "en-US" | "es-ES" | "es" | "fi" | "fr-CA" | "fr" | "ga" | "hi-IN" | "hr" | "hu" | "id" | "is" | "it" | "iw" | "ja" | "ko" | "lo" | "lt" | "ms" | "nl" | "nl-BE" | "no" | "pl" | "pt-BR" | "pt" | "ro" | "ru" | "sk" | "sl" | "sr" | "sv" | "sw" | "uk" | "ur" | "vi" | "th" | "tr" | "zh-HK" | "zh" | "zu"
maxAge?: number
minAge?: number
redirectUrl: string
segment: Segment
subSegment: SubSegment
submissionUrl?: string
verificationId: string