Exception: JSONAPI::Exceptions::HasManySetReplacementForbidden
- Inherits:
-
Error
- Object
- RuntimeError
- Error
- JSONAPI::Exceptions::HasManySetReplacementForbidden
- Defined in:
- lib/jsonapi/exceptions.rb
Instance Method Summary collapse
Instance Method Details
#errors ⇒ Object
62 63 64 65 66 67 |
# File 'lib/jsonapi/exceptions.rb', line 62 def errors [JSONAPI::Error.new(code: JSONAPI::FORBIDDEN, status: :forbidden, title: 'Complete replacement forbidden', detail: 'Complete replacement forbidden for this association')] end |