class JSONAPI::Exceptions::QueryParamsExceptions::InvalidQueryParameter

A more specific Standard Error to raise

Attributes

status_code[RW]

Public Class Methods

new(status_code) click to toggle source

Init w a status code, so that it can be accessed when rescuing an exception

Calls superclass method
# File lib/easy/jsonapi/exceptions/query_params_exceptions.rb, line 17
def initialize(status_code)
  @status_code = status_code
  super
end