Skip to main content

Reference

 

OutSystems

Invalid Error Handler Error

The Invalid Error Handler error is issued in the following situations:

  • More than one error handler for <exception> exception in flow

    You are catching the same exception in more than one Error Handler in your flow.

    Remove Error Handlers are catching the exception in duplicate.

  • 'Destination' screen of 'Security' error handler must have 'Anonymous' role set in <flow>

    You have an error handler to catch security exceptions that navigates to a screen that does not allow Anonymous users. The exception flow of an error handler that catches Security or Not Registered exceptions must start with an Anonymous screen, otherwise it won't be possible to execute the exception flow.

    Depending on your application requirements, you have to do one of the following:

    • Change the destination of your security error handler to an Anonymous screen

    • Change the role of the screen.

  • <exception> error handler cannot be connected to a screen with mandatory parameter(s) in <flow>

    You have an Error Handler linked to a Screen with mandatory parameters. This is not allowed because when the exception occurs it won't be possible to send values to these parameters.

    Depending on your application requirements, you have to do one of the following:

    • Change the Is Mandatory property of the screen input parameter;

    • Change the destination of the error handler to a different screen with optional parameters.

  • `'Exception' must be set

    you have an error handler that is not catching none exceptions.`

    Edit the error handler and set a value in the Exception property.

Double-click on the error line to take you directly to the error handler.

  • Was this article helpful?