envilder
Version:
A CLI and GitHub Action that securely centralizes your environment variables from AWS SSM or Azure Key Vault as a single source of truth
9 lines • 413 B
TypeScript
/**
* Extracts a human-readable reason from an unknown thrown value.
*
* Digs through `AggregateError.errors` and `Error.cause` so the reason is never
* empty — the AWS SDK v3 wraps connection failures in an `AggregateError` whose
* own `message` is empty and whose real causes live in `errors`.
*/
export declare function describeError(error: unknown): string;
//# sourceMappingURL=describeError.d.ts.map