Throws an error with the given code and message.
The error code
The error message
The error code
OptionalstackStatic OptionalprepareOptional override for formatting stack traces
StaticstackStaticcaptureCreate .stack property on a target object
OptionalconstructorOpt: Function
SDK Client Error - Any error that is thrown by the SDK will be an instance of this class.