Exception: Paramore::NilParameter

Inherits:
StandardError
  • Object
show all
Defined in:
lib/paramore/errors.rb

Instance Method Summary collapse

Constructor Details

#initialize(param_name) ⇒ NilParameter

Returns a new instance of NilParameter.



2
3
4
# File 'lib/paramore/errors.rb', line 2

def initialize(param_name)
  super("Received a nil #{Paramore::ErrorFieldName(param_name)}, but its type is non nullable!")
end