Description

Right Track Exception Handler

This module helps to handle and log exceptions that occur during the Right Track Database update and compilation process.

Details

Methods


<inner> reset()

Description

Reset the list of Right Track Exceptions

Details

<inner> error( message, details, agencyId )

Description

Add an Error to the list of Right Track Exceptions

Parameters
Name Type Description
message string

Error Message

details string | undefined

Error Details

agencyId string | undefined

Agency Code of Agency invoking the Error

Details

<inner> warning( message, details, agencyId )

Description

Add a Warning to the list of Right Track Exceptions

Parameters
Name Type Description
message string

Warning Message

details string | undefined

Warning Details

agencyId string | undefined

Agency Code of Agency invoking the Warning

Details

<inner> getExceptions() → {Array}

Description

Get the list of all Right Track Exceptions

Returns
Details

<inner> getExceptionCount() → {Number}

Description

Get the number of Right Track Exceptions

Returns
Details

<inner> getErrors() → {Array}

Description

Get the list of all Right Track Errors

Returns
Details

<inner> getErrorCount() → {Number}

Description

Get the number of Right Track Errors

Returns
Details

<inner> getWarnings() → {Array}

Description

Get the list of all Right Track Warnings

Returns
Details

<inner> getWarningCount() → {Number}

Description

Get the number of Right Track Warnings

Returns
Details