Exception: JSONAPI::Exceptions::ToManySetReplacementForbidden

Inherits:
Error
  • Object
show all
Defined in:
lib/jsonapi/exceptions.rb

Instance Method Summary collapse

Instance Method Details

#errorsObject



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