Exception: Paramore::NilParameter
- Inherits:
-
StandardError
- Object
- StandardError
- Paramore::NilParameter
- Defined in:
- lib/paramore/errors.rb
Instance Method Summary collapse
-
#initialize(param_name) ⇒ NilParameter
constructor
A new instance of NilParameter.
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 |