Error Handling & Error Codes

It is imperative that appropriate error handling is used when using RadiusCore via the CLI.

To enable appropriate error handling for calling applications when using RadiusCore from the command line, errors are raised directly to the calling procedure. This approach differs from that used when using RadiusCore from the user interface (Excel ribbon), where errors are handled within RadiusCore.

The downside of this approach is that, if errors are not appropriately handled in the calling application, RadiusCore’s run-time compile will break causing it to be unusable until Excel is restarted. To avoid this, developers need to ensure errors raised in procedures using the RadiusCore CLI are handled appropriately. A code sample is provided with a recommended approach to error handling when calling RadiusCore via the CLI.