Catching Ecto exception

If you are using plug, you might be interested in Phoenix.NotAcceptableError - How can I return an error instead of having the app just have an exception?

1 Like