Exception: Apimaster::RelationExistsError
- Inherits:
-
NormalError
- Object
- StandardError
- NormalError
- Apimaster::RelationExistsError
- Defined in:
- lib/apimaster/error.rb
Instance Attribute Summary
Attributes inherited from NormalError
#code, #error, #field, #resource
Instance Method Summary collapse
-
#initialize(resource = nil, field = nil) ⇒ RelationExistsError
constructor
A new instance of RelationExistsError.
Constructor Details
#initialize(resource = nil, field = nil) ⇒ RelationExistsError
Returns a new instance of RelationExistsError.
50 51 52 |
# File 'lib/apimaster/error.rb', line 50 def initialize(resource = nil, field = nil) super("Our results indicate a positive relationship exists.", 409, :relation_exists, resource, field) end |