Contents
- Introduction
- Class: grawlix.error.GrawlixFilterError
- Class: grawlix.error.GrawlixPluginError
- Class: grawlix.error.GrawlixStyleError
To help in debugging issues related to the package, grawlix
throws three custom Error
subclasses that include extra information about the exception.
Used for errors related to filters and filter objects. In addition to what it inherits from Error
, GrawlixFilterError
has the following properties:
Type: Object
Default: null
The filter or filter object that threw the error.
Type: Object
Default: null
The plugin that the filter object belongs to, if applicable. Will be null
if the filter object was provided through the main grawlix
options.
Used for errors relating to plugins. In addition to what it inherits from Error
, GrawlixPluginError
has the following properties:
Type: Object
Default: null
The plugin or plugin object that threw the error.
Used for errors related to grawlix
styles and style objects. In addition to what it inherits from Error
, GrawlixStyleError
has the following properties:
Type: String
Default: null
The name of the style or the style object that threw the error.
Type: Object
Default: null
The style or the style object that threw the error.
Type: Object
Default: null
The plugin that the style or style object belongs to, if applicable. Will be null
if the style object was provided through the main grawlix
options.
Last updated April 18, 2017.