Exception: Spikard::Errors::ConflictError

Inherits:
Error
  • Object
show all
Defined in:
lib/spikard/errors.rb

Instance Attribute Summary

Attributes inherited from Error

#problem_details_type, #status_code

Instance Method Summary collapse

Methods inherited from Error

#to_problem_details

Constructor Details

#initialize(message = nil) ⇒ ConflictError

Raised when the request conflicts with the current state of the resource.



61
62
63
# File 'lib/spikard/errors.rb', line 61

def initialize(message = nil)
  super(message, status_code: 409, problem_details_type: nil)
end