Create a new error.
the error code.
the error message.
The error code
The error message
The type of objects in this class
Optional override for formatting stack traces
Convert the object to a string.
the string form of the object.
Create .stack property on a target object
Class Error defines an error occuring inside the SDK.