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
84 85 86 87 88 89 |
# File 'lib/jsonapi/exceptions.rb', line 84 def errors [JSONAPI::Error.new(code: JSONAPI::FORBIDDEN, status: :forbidden, title: 'Complete replacement forbidden', detail: 'Complete replacement forbidden for this relationship')] end |