@agent-base/secret-client
Version:
A TypeScript client for Google Cloud Secret Manager.
27 lines • 942 B
TypeScript
/**
* 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