Error handling
Actions
Handle errors in actions and return messages.
return new Message("Something failed");
Triggers
Use OnError triggers to react to failures.
Recommendation
Keep errors close to the action that produces them.
Handle errors in actions and return messages.
return new Message("Something failed");
Use OnError triggers to react to failures.
Keep errors close to the action that produces them.