This PR uses the option that a invoked command can throw a "StatusResponseError" with a defined code and when this code is used and send out.
I decided to not use the tryCatch approach here because the error handler needs to be async and needs to await the Status send action (the alternative would be strange code in my eyes).
This PR uses the option that a invoked command can throw a "StatusResponseError" with a defined code and when this code is used and send out.
I decided to not use the tryCatch approach here because the error handler needs to be async and needs to await the Status send action (the alternative would be strange code in my eyes).