Method: JSONAPI::Exceptions::InvalidFilterValue#errors

Defined in:
lib/jsonapi/exceptions.rb

#errorsObject



80
81
82
83
84
85
# File 'lib/jsonapi/exceptions.rb', line 80

def errors
  [JSONAPI::Error.new(code: JSONAPI::INVALID_FILTER_VALUE,
                       status: :bad_request,
                       title: 'Invalid filter value',
                       detail: "#{value} is not a valid value for #{filter}.")]
end