class Cortex::Exceptions::ResourceConsumed
Public Class Methods
new(message = 'Resource is in use by another resource and cannot be deleted', http_status = :unprocessable_entity)
click to toggle source
Calls superclass method
Cortex::Exceptions::ApiError::new
# File lib/cortex/exceptions.rb, line 23 def initialize(message = 'Resource is in use by another resource and cannot be deleted', http_status = :unprocessable_entity) super(message) end