UNPKG

@agent-base/secret-client

Version:
27 lines 942 B
/** * Base error class for GoogleSecretManagerClient specific errors. */ export declare class GoogleSecretManagerError extends Error { constructor(message: string); } /** * Error thrown when configuration for the GoogleSecretManagerClient is invalid. */ export declare class GoogleSecretManagerConfigError extends GoogleSecretManagerError { constructor(message: string); } /** * Error thrown when a secret is not found in Google Secret Manager. */ export declare class SecretNotFoundError extends GoogleSecretManagerError { readonly secretId: string; constructor(secretId: string, message?: string); } /** * Error thrown for general issues when interacting with the Google Cloud Secret Manager API. */ export declare class GoogleCloudSecretManagerApiError extends GoogleSecretManagerError { readonly originalError?: any; constructor(message: string, originalError?: any); } //# sourceMappingURL=errors.d.ts.map