Type guard for determining whether the given value is an error object with a message property, such as an instance of Error.
message
A boolean.
The object to check.
Type guard for determining whether the given value is an error object with a
message
property, such as an instance of Error.Returns
A boolean.