MCPcopy Create free account
hub / github.com/aws-samples/aws-cdk-examples / constructor

Method constructor

scripts/update-cdk-packages.ts:25–29  ·  view source on GitHub ↗
(message: string, options?: { cause: Error })

Source from the content-addressed store, hash-verified

23class PackageUpdateError extends Error {
24 override cause?: Error;
25 constructor(message: string, options?: { cause: Error }) {
26 super(message);
27 this.name = 'PackageUpdateError';
28 this.cause = options?.cause;
29 }
30}
31
32// Constants for URLs

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected