Throws an error with the given code and message.
The error code
The error message
The error code
Optional
stackStatic
Optional
prepareOptional override for formatting stack traces
Static
stackStatic
captureCreate .stack property on a target object
Optional
constructorOpt: Function
SDK Client Error - Any error that is thrown by the SDK will be an instance of this class.