Namespace: Error

utilx. Error

utilx.Error
Source:

Methods

(static) isError(inputArg) → {boolean}

Returns true if the operand inputArg is an error.
Parameters:
Name Type Description
inputArg *
Source:
Returns:
Type
boolean

(static) isErrorTypeConstructor(inputArg) → {boolean}

Tests to see if the argument is one of the seven standard Error type constructors.
Parameters:
Name Type Description
inputArg *
Source:
Returns:
Type
boolean