Exception: CodebrackerSimb::CodeError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/codebracker_simb/errors/code_error.rb

Instance Method Summary collapse

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