Exception: RunApi::Core::ConflictError
- Defined in:
- lib/runapi/core/errors.rb
Overview
Raised when request conflicts with current resource state (HTTP 409).
Constant Summary
Constants inherited from Error
Error::DEFAULT_MESSAGES, Error::STATUS_MAP
Instance Attribute Summary
Attributes inherited from Error
#details, #request_id, #response_headers, #status
Instance Method Summary collapse
-
#initialize(message = "Conflict", **kwargs) ⇒ ConflictError
constructor
A new instance of ConflictError.
Methods inherited from Error
from_response, #response_header, #runapi_task_id, #to_h
Constructor Details
#initialize(message = "Conflict", **kwargs) ⇒ ConflictError
Returns a new instance of ConflictError.
250 251 252 |
# File 'lib/runapi/core/errors.rb', line 250 def initialize( = "Conflict", **kwargs) super(, status: 409, **kwargs) end |