error code

Rails API Painless Error Handling and Rendering

Are you sick and tired of handling endless exceptions, writing custom logic to handle bad API requests and serializing the same errors over and over? What if I told you there was a way to abstract away messy and repetitive error raising and response rendering in your Rails API? A…