# 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

- Omit<VerificationResponse, "subSegment">
- Omit<WithLocaleAndCountryAndSegment, "subSegment">
  - ErrorResponse

- Defined in jslib/src/lib/types/types.ts:1763

#####
Index

### Properties

country?
currentStep
errorDetailId?
errorIds
lastResponse?
locale
maxAge?
minAge?
redirectUrl
segment
subSegment
submissionUrl?
verificationId

## Properties

### `Optional` country

country?: keyof Countries

Inherited from Omit.country

- Defined in jslib/src/lib/types/types.ts:1434

### currentStep

currentStep: "error"

Overrides Omit.currentStep

- Defined in jslib/src/lib/types/types.ts:1767

### `Optional` errorDetailId

errorDetailId?: ErrorDetailId

- Defined in jslib/src/lib/types/types.ts:1770

### errorIds

errorIds: [ErrorId]

Overrides Omit.errorIds

- Defined in jslib/src/lib/types/types.ts:1769

### `Optional` lastResponse

lastResponse?: VerificationResponse

Inherited from Omit.lastResponse

- Defined in jslib/src/lib/types/types.ts:1447

### locale

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"

Inherited from Omit.locale

- Defined in jslib/src/lib/types/types.ts:1433

### `Optional` maxAge

maxAge?: number

Inherited from Omit.maxAge

- Defined in jslib/src/lib/types/types.ts:1445

### `Optional` minAge

minAge?: number

Inherited from Omit.minAge

- Defined in jslib/src/lib/types/types.ts:1446

### redirectUrl

redirectUrl: string

- Defined in jslib/src/lib/types/types.ts:1771

### segment

segment: Segment

Inherited from Omit.segment

- Defined in jslib/src/lib/types/types.ts:1431

### subSegment

subSegment: SubSegment

- Defined in jslib/src/lib/types/types.ts:1768

### `Optional` submissionUrl

submissionUrl?: string

Inherited from Omit.submissionUrl

- Defined in jslib/src/lib/types/types.ts:1441

### verificationId

verificationId: string

Overrides Omit.verificationId

- Defined in jslib/src/lib/types/types.ts:1766