/** * The object used to describe an error, containing both human-readable and machine-readable information. */ export declare class AccountTakeoverError { /** * Snake cased all caps error code interpreted from the HTTP status code that can programmatically be acted upon. */ code: AccountTakeoverErrorCodeEnum; /** * A human-readable explanation of the error, specific to this error occurrence. */ message: string; constructor(accountTakeoverError: AccountTakeoverErrorProperties); } export type AccountTakeoverErrorCodeEnum = 'UNAUTHORIZED' | 'FORBIDDEN' | 'NOT_FOUND' | 'ACCOUNT_UPDATE_NOT_FOUND' | 'TOO_MANY_REQUESTS' | 'INTERNAL_SERVER_ERROR' | 'BAD_GATEWAY' | 'RETRYABLE_ACCOUNT_SCREEN_FAILURE' | 'RETRYABLE_ACCOUNT_UPDATE_FAILURE' | 'GATEWAY_TIMEOUT' | 'BAD_REQUEST'; export interface AccountTakeoverErrorProperties { code: AccountTakeoverErrorCodeEnum; message: string; }