RubyFlow The Ruby and Rails community linklog

×

The Ruby and Rails community linklog

Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!

Handling exceptions in Rails API applications

Handling exceptions in your API applications is quite an important thing, and if you want to keep things DRY, you should think how to do it in the proper way. https://driggl.com/blog/a/handling-exceptions-in-rails-applications

In our Ruby on Rails API course, I’ve shown how to implement the error handling using ErrorSerializer and in this article I’m going to show you even better approach to this topic when you can unify EVERY error across the whole API application.

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in