Can Hasura event triggers be used to cancel an event and return an error? I\'m working on a hasura based api which takes in a json object and want to run a custom function i