Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(clients): throw exceptions as ServiceException class
- Loading branch information
1 parent
d7a8150
commit 7c47308
Showing
1,365 changed files
with
258,082 additions
and
448,636 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
17 changes: 17 additions & 0 deletions
17
clients/client-accessanalyzer/src/models/AccessAnalyzerServiceException.ts
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 |
---|---|---|
@@ -0,0 +1,17 @@ | ||
import { | ||
ServiceException as __ServiceException, | ||
ServiceExceptionOptions as __ServiceExceptionOptions, | ||
} from "@aws-sdk/smithy-client"; | ||
|
||
/** | ||
* Base exception class for all service exceptions from AccessAnalyzer service. | ||
*/ | ||
export class AccessAnalyzerServiceException extends __ServiceException { | ||
/** | ||
* @internal | ||
*/ | ||
constructor(options: __ServiceExceptionOptions) { | ||
super(options); | ||
Object.setPrototypeOf(this, AccessAnalyzerServiceException.prototype); | ||
} | ||
} |
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
Oops, something went wrong.