Method: Lingo24::Exception#initialize
- Defined in:
- lib/lingo24/exception.rb
#initialize(code, msg) ⇒ Exception
Creates a new Language.
Parameters: code - a string containing the status code of the message. msg - a string containing the exception message.
12 13 14 15 |
# File 'lib/lingo24/exception.rb', line 12 def initialize(code, msg) @code = code = msg end |