@effect-aws/client-ec2 1.9.5 → 1.10.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/src/Errors.ts CHANGED
@@ -1,11 +1,10 @@
1
1
  import type { EC2ServiceException } from "@aws-sdk/client-ec2";
2
2
  import type { TaggedException } from "@effect-aws/commons";
3
- import { SdkError as CommonSdkError } from "@effect-aws/commons";
4
3
  import { Data } from "effect";
5
4
 
6
5
  export type EC2ServiceError = TaggedException<
7
6
  EC2ServiceException & { name: "EC2ServiceError" }
8
7
  >;
9
8
  export const EC2ServiceError = Data.tagged<EC2ServiceError>("EC2ServiceError");
10
- export type SdkError = CommonSdkError;
11
- export const SdkError = CommonSdkError;
9
+
10
+ export type SdkError = TaggedException<Error & { name: "SdkError" }>;