Exception: Campa::Error::InvalidNumber

Inherits:
Campa::ExecutionError show all
Defined in:
lib/campa/error/invalid_number.rb

Instance Method Summary collapse

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