Exception: Qo::Exceptions::MultipleElseClauses
- Inherits:
-
ArgumentError
- Object
- ArgumentError
- Qo::Exceptions::MultipleElseClauses
- Defined in:
- lib/qo/exceptions.rb
Overview
In the case of a Pattern Match, we should only have one "else" clause
Instance Method Summary collapse
Instance Method Details
#to_s ⇒ Object
49 50 51 |
# File 'lib/qo/exceptions.rb', line 49 def to_s "Cannot have more than one `else` clause in a Pattern Match." end |