-
Notifications
You must be signed in to change notification settings - Fork 0
Closed
Description
Dedicated error class for action return types
Action handlers must return ActionResult objects currently. When an action result is returned, the SDK validates that the expected properties (as defined by the actions’ output schema in config.json) are returned by each action. This causes some friction when attempting to return error messages inside the ActionResult return since the schema only accounts for a successful execution scenario.
Providing an ActionError return type could address this gap. Below is the proposed shape of this object:
ActionError{
message: text
}Additional notes
- rg4py - Add env variable so rg4py can work and re-release with the integrations sdk
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels