FORGEBOX Enterprise 🚀 - Take your ColdFusion (CFML) Development to Modern Times! Learn More...
This module includes the Error handler used by PGA Apps.
This module has built in tests, and a CI that will run tests, and if the tests pass, publish the module to S3 and Forgebox through Circle CI.
Since this module will be used outside of ColdBox, you need to install another module... to ensure the error module needs to know where the Utils is installed. With ColdBox, this would not be needed.
This module can be installed using 2 simple commandbox commands:
box install cfml-module-utils-pgahq box install cfml-module-error-pga
This will install the module and use the box.json to track the dependencies.
These module is installed into
/error. CFCs can be used via the path
Using CFConfig, you can set the following settings to use for error handling
You can include the error handler in a try catch with
Tests are located in the
Tests can be run by hitting
Please ensure your apps are setup to ignore the error and modules folder.
Here are all the versions for this package. Please note that you can leverage CommandBox package versioning to install any package you like. Please refer to our managing package version guide for more information.