The base error class for all exceptions. All exceptions must
have a name that should match the name of their class and a user
settable message. Typically, subclasses of BaseError will fill in the
name field in their own constructor, so users do not have to set it.
property
{string} name The name of of the exception, which is intended
to be used as a method of filtering different exceptions.
property
{string} message A freeform message that provides more detail
into what caused this error.
object
Errors.type:BaseError
The base error class for all exceptions. All exceptions must have a name that should match the name of their class and a user settable message. Typically, subclasses of BaseError will fill in the name field in their own constructor, so users do not have to set it.
{string} name The name of of the exception, which is intended to be used as a method of filtering different exceptions.
{string} message A freeform message that provides more detail into what caused this error.