Exception: Cortex::Exceptions::ResourceConsumed
- Inherits:
-
ApiError
- Object
- StandardError
- CortexError
- ApiError
- Cortex::Exceptions::ResourceConsumed
- Defined in:
- lib/cortex/exceptions.rb
Instance Attribute Summary
Attributes inherited from ApiError
Instance Method Summary collapse
-
#initialize(message = 'Resource is in use by another resource and cannot be deleted', http_status = :unprocessable_entity) ⇒ ResourceConsumed
constructor
A new instance of ResourceConsumed.
Constructor Details
#initialize(message = 'Resource is in use by another resource and cannot be deleted', http_status = :unprocessable_entity) ⇒ ResourceConsumed
Returns a new instance of ResourceConsumed.
23 24 25 |
# File 'lib/cortex/exceptions.rb', line 23 def initialize( = 'Resource is in use by another resource and cannot be deleted', http_status = :unprocessable_entity) super() end |