I\'m writing a simple Sinatra app, and given a user posts a request with an specific data, I want to return an error \'453\' (custom error code) with a message CLIENT_ERROR,
I would recommend not to use custom HTTP status codes. If you think you have something of general use, consider writing an Internet Draft and going through the IETF specification process.