Exception: Bibliothecary::RemoteParsingError
- Inherits:
-
StandardError
- Object
- StandardError
- Bibliothecary::RemoteParsingError
- Defined in:
- lib/bibliothecary/exceptions.rb
Instance Attribute Summary collapse
-
#code ⇒ Object
Returns the value of attribute code.
Instance Method Summary collapse
-
#initialize(msg, code) ⇒ RemoteParsingError
constructor
A new instance of RemoteParsingError.
Constructor Details
#initialize(msg, code) ⇒ RemoteParsingError
Returns a new instance of RemoteParsingError.
4 5 6 7 |
# File 'lib/bibliothecary/exceptions.rb', line 4 def initialize(msg, code) @code = code super(msg) end |
Instance Attribute Details
#code ⇒ Object
Returns the value of attribute code.
3 4 5 |
# File 'lib/bibliothecary/exceptions.rb', line 3 def code @code end |