@jhzhu89/azure-client-pool
Version:
Azure client lifecycle management with intelligent caching and authentication
13 lines • 622 B
TypeScript
export declare const AUTH_ERROR_CODES: {
readonly jwt_validation_failed: "jwt_validation_failed";
readonly token_exchange_failed: "token_exchange_failed";
readonly invalid_access_token: "invalid_access_token";
};
export type AuthErrorCode = (typeof AUTH_ERROR_CODES)[keyof typeof AUTH_ERROR_CODES];
export declare class AuthError extends Error {
readonly code: AuthErrorCode;
readonly context?: Record<string, unknown> | undefined;
readonly timestamp: Date;
constructor(code: AuthErrorCode, message: string, context?: Record<string, unknown> | undefined);
}
//# sourceMappingURL=errors.d.ts.map