class Shaf::Errors::UnprocessableEntityError
Public Class Methods
new(msg = nil)
click to toggle source
Calls superclass method
Shaf::Errors::ServerError::new
# File lib/shaf/errors.rb, line 106 def initialize(msg = nil) msg ||= "The server can not process this request" super(msg, code: "UNPROCESSABLE_ENTITY", title: "Request can not be processed") end
Public Instance Methods
http_status()
click to toggle source
# File lib/shaf/errors.rb, line 102 def http_status 422 end