how to return a not_found error from a manual
i need return a not found error, with the error code, from a call on ash_json_api, the action its a manual action
someone can help please 😄
2 Replies
You'd return something like
{:error, Ash.Error.Query.NotFound.exception()}
from the manual actionworked well returning
AshJsonApi.Error.NotFound.exception()