Exception: JSONAPI::Exceptions::ToManySetReplacementForbidden
- Inherits:
-
Error
- Object
- RuntimeError
- Error
- JSONAPI::Exceptions::ToManySetReplacementForbidden
- Defined in:
- lib/jsonapi/exceptions.rb
Instance Method Summary collapse
Instance Method Details
#errors ⇒ Object
77 78 79 80 81 82 |
# File 'lib/jsonapi/exceptions.rb', line 77 def errors [JSONAPI::Error.new(code: JSONAPI::FORBIDDEN, status: :forbidden, title: 'Complete replacement forbidden', detail: 'Complete replacement forbidden for this relationship')] end |