-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ensure error types are exposed to users
- Loading branch information
Showing
10 changed files
with
93 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,12 @@ | ||
export { AWSConfig, InvalidAWSConfigError } from './internal/config' | ||
export { | ||
AWSError, | ||
NetworkError, | ||
GeneralError, | ||
DNSError, | ||
TCPError, | ||
TLSError, | ||
HTTP2Error, | ||
} from './internal/error' | ||
export { EventBridgeClient, EventBridgeServiceError } from './internal/event-bridge' | ||
export { InvalidSignatureError } from './internal/signature' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,12 @@ | ||
// Import only symbols we wish to re-export publicly | ||
import { AWSConfig, InvalidAWSConfigError } from './internal/config' | ||
import { InvalidSignatureError } from './internal/signature' | ||
import { KinesisClient, KinesisServiceError } from './internal/kinesis' | ||
|
||
// Re-Export public symbols | ||
export { AWSConfig, InvalidAWSConfigError } from './internal/config' | ||
export { | ||
InvalidSignatureError, | ||
// Aws Config | ||
AWSConfig, | ||
InvalidAWSConfigError, | ||
// Kinesis | ||
KinesisClient, | ||
KinesisServiceError, | ||
} | ||
AWSError, | ||
NetworkError, | ||
GeneralError, | ||
DNSError, | ||
TCPError, | ||
TLSError, | ||
HTTP2Error, | ||
} from './internal/error' | ||
export { InvalidSignatureError } from './internal/signature' | ||
export { KinesisClient, KinesisServiceError } from './internal/kinesis' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,13 @@ | ||
// Re-Export public symbols | ||
export { AWSConfig, InvalidAWSConfigError } from './internal/config' | ||
export { | ||
AWSError, | ||
NetworkError, | ||
GeneralError, | ||
DNSError, | ||
TCPError, | ||
TLSError, | ||
HTTP2Error, | ||
} from './internal/error' | ||
export { KMSClient, KMSDataKey, KMSServiceError } from './internal/kms' | ||
export { InvalidSignatureError } from './internal/signature' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,13 @@ | ||
// Re-Export public symbols | ||
export { AWSConfig, InvalidAWSConfigError } from './internal/config' | ||
export { InvalidSignatureError } from './internal/signature' | ||
export { | ||
LambdaInvocationError, | ||
LambdaClient | ||
} from './internal/lambda' | ||
AWSError, | ||
NetworkError, | ||
GeneralError, | ||
DNSError, | ||
TCPError, | ||
TLSError, | ||
HTTP2Error, | ||
} from './internal/error' | ||
export { InvalidSignatureError } from './internal/signature' | ||
export { LambdaInvocationError, LambdaClient } from './internal/lambda' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,13 @@ | ||
// Re-Export public symbols | ||
export { AWSConfig, InvalidAWSConfigError } from './internal/config' | ||
export { | ||
AWSError, | ||
NetworkError, | ||
GeneralError, | ||
DNSError, | ||
TCPError, | ||
TLSError, | ||
HTTP2Error, | ||
} from './internal/error' | ||
export { InvalidSignatureError } from './internal/signature' | ||
export { SQSClient, SQSServiceError } from './internal/sqs' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters