Exception: Qo::Exceptions::NotAllGuardMatchersProvided
- Inherits:
-
ArgumentError
- Object
- ArgumentError
- Qo::Exceptions::NotAllGuardMatchersProvided
- Defined in:
- lib/qo/exceptions.rb
Overview
In the case of a Pattern Match, we need to ensure all arguments are GuardBlockMatchers.
Instance Method Summary collapse
Instance Method Details
#to_s ⇒ Object
37 38 39 40 |
# File 'lib/qo/exceptions.rb', line 37 def to_s "All provided matchers must be of type Qo::Matchers::GuardBlockMatcher " + "defined with `Qo.matcher` or `Qo.m` instead of regular matchers." end |