Exception: BadParamsException

Inherits:
StandardError
  • Object
show all
Defined in:
backend/app/lib/exceptions.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(params) ⇒ BadParamsException

Returns a new instance of BadParamsException.



6
7
8
# File 'backend/app/lib/exceptions.rb', line 6

def initialize(params)
  @params = params
end

Instance Attribute Details

#paramsObject

Returns the value of attribute params



4
5
6
# File 'backend/app/lib/exceptions.rb', line 4

def params
  @params
end