Exception: YandexError
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- YandexError
- Defined in:
- lib/YandexError.rb
Instance Method Summary collapse
- #code ⇒ Object
-
#initialize(mes, code) ⇒ YandexError
constructor
A new instance of YandexError.
Constructor Details
#initialize(mes, code) ⇒ YandexError
Returns a new instance of YandexError.
2 3 4 5 |
# File 'lib/YandexError.rb', line 2 def initialize(mes,code) super(mes) @code = code end |
Instance Method Details
#code ⇒ Object
7 8 9 |
# File 'lib/YandexError.rb', line 7 def code @code end |