Question

Error Handler: Throw - Configuring custom error types

  • 23 March 2023
  • 5 replies
  • 94 views

Badge +1

I’m looking to generate distinct error categories via the “Error Handler - Throw” action (e.g. Business Exceptions vs System Exceptions). “Error handler - Throw” seems to be built for this use case - there’s a dropdown where we can select error type. However I can’t find any options in the product or on the docs pages about how to add/manage error types. There’s only one option available originally (AllErrors).

 


5 replies

Badge +3

I am looking for the same thing. @Micah.Smith Do you know if there is a way to create custom exception types? I looked in the package SDK and couldn't find anything there either. It would be awesome if there was a way to do this, especially when it comes to handling business exceptions. 

Badge

Hello, 
Is does any one got an answer for that? 
I am looking at it as well...

Badge +4

Anyone have an answer?

Badge +3

So I found the way to do this. In the package.template file add the following 

 

Badge +3

Sorta useless though since you can’t actually have multiple catch branches…. at least that is the way it appears to me. Would love for someone from AA support to actually confirm this.

Reply