export type FronteggErrorCode = string; export type FronteggErrorContext = Record; export declare class FronteggApiError extends Error { private readonly _statusCode; private readonly _traceId; private readonly _errorCode; private readonly _errorContext; private readonly _errors; private readonly _errorCodes; constructor(message: string, statusCode: number, traceId: string | null, errorCode?: FronteggErrorCode, errorContext?: FronteggErrorContext, errors?: string[], errorCodes?: FronteggErrorCode[]); get statusCode(): number; get traceId(): string | null; get errorCode(): FronteggErrorCode | undefined; get errorContext(): FronteggErrorContext | undefined; get errors(): string[] | undefined; get errorCodes(): FronteggErrorCode[] | undefined; }