Exception: Paradeiser::InvalidTypeError
- Inherits:
-
StandardError
- Object
- StandardError
- Paradeiser::InvalidTypeError
- Defined in:
- lib/paradeiser/errors.rb
Instance Method Summary collapse
-
#initialize(type, choices) ⇒ InvalidTypeError
constructor
A new instance of InvalidTypeError.
Constructor Details
#initialize(type, choices) ⇒ InvalidTypeError
Returns a new instance of InvalidTypeError.
33 34 35 |
# File 'lib/paradeiser/errors.rb', line 33 def initialize(type, choices) super("'#{type}' is not a valid type. Valid are only #{choices}.") end |