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.
7 8 9 10 |
# File 'lib/bibliothecary/exceptions.rb', line 7 def initialize(msg, code) @code = code super(msg) end |
Instance Attribute Details
#code ⇒ Object
Returns the value of attribute code.
5 6 7 |
# File 'lib/bibliothecary/exceptions.rb', line 5 def code @code end |