Exception: Tantiny::UnexpectedNone

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

Instance Method Summary collapse

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