Exception: Tantiny::UnexpectedNone
- Inherits:
-
StandardError
- Object
- StandardError
- Tantiny::UnexpectedNone
- Defined in:
- lib/tantiny/errors.rb
Instance Method Summary collapse
-
#initialize(type) ⇒ UnexpectedNone
constructor
A new instance of UnexpectedNone.
Constructor Details
#initialize(type) ⇒ UnexpectedNone
Returns a new instance of UnexpectedNone.
16 17 18 |
# File 'lib/tantiny/errors.rb', line 16 def initialize(type) super("Didn't expect Option<#{type}> to be empty.") end |