class Shaf::Errors::ConflictError
Public Class Methods
new(msg = nil)
click to toggle source
Calls superclass method
Shaf::Errors::ServerError::new
# File lib/shaf/errors.rb, line 83 def initialize(msg = nil) msg ||= "The request conflicts with another resource" super(msg, code: "CONFLICT", title: "Conflicting resource") end
Public Instance Methods
http_status()
click to toggle source
# File lib/shaf/errors.rb, line 79 def http_status 409 end