API Docs for: 1.0

Class ClassedError

Extends: Error
Class defined in: src/js/globals.js:101

Used to describe and classify an error.

ClassedError( msg, type )
src/js/globals.js:101
Parameters:
  • msg <String>

    The error message. If this is an empty string or null, then the type's default error message will be used

  • type <Number>

    A number value representing one of the types of enum list of ClassedError.types

handleErr( )
src/js/globals.js:137

Handle the error according to its type

types <Object literal containing number values>
src/js/globals.js:124

Enumerable values representing the different types / or classes of errors that can be thrown by this application