Type alias for the built-in Error type.
Helps clarify the code to disambugate between the Error JS class and its interface (type), which have the same name, which can be confusing when referring to an object that looks like an Error but is not an instance of the Error class.
Type alias for the built-in Error type.
Helps clarify the code to disambugate between the Error JS class and its interface (type), which have the same name, which can be confusing when referring to an object that looks like an Error but is not an instance of the Error class.