Exception: Campa::Error::InvalidNumber
- Inherits:
-
Campa::ExecutionError
- Object
- StandardError
- Campa::ExecutionError
- Campa::Error::InvalidNumber
- Defined in:
- lib/campa/error/invalid_number.rb
Instance Method Summary collapse
-
#initialize(fake_number) ⇒ InvalidNumber
constructor
A new instance of InvalidNumber.
Constructor Details
#initialize(fake_number) ⇒ InvalidNumber
Returns a new instance of InvalidNumber.
4 5 6 |
# File 'lib/campa/error/invalid_number.rb', line 4 def initialize(fake_number) super "Invalid number: #{fake_number}" end |