Exception: CodebrackerSimb::CodeError
- Inherits:
-
StandardError
- Object
- StandardError
- CodebrackerSimb::CodeError
- Defined in:
- lib/codebracker_simb/errors/code_error.rb
Instance Method Summary collapse
-
#initialize(msg = 'Code must include only four digits from 1 to 6') ⇒ CodeError
constructor
A new instance of CodeError.
Constructor Details
#initialize(msg = 'Code must include only four digits from 1 to 6') ⇒ CodeError
Returns a new instance of CodeError.
5 6 7 |
# File 'lib/codebracker_simb/errors/code_error.rb', line 5 def initialize(msg = 'Code must include only four digits from 1 to 6') super end |