Exception: Arx::Error::MissingLink
- Inherits:
-
StandardError
- Object
- StandardError
- Arx::Error::MissingLink
- Defined in:
- lib/arx/error.rb
Overview
Custom error for missing links on an arXiv paper.
Instance Method Summary collapse
-
#initialize(id, link_type) ⇒ MissingLink
constructor
A new instance of MissingLink.
Constructor Details
#initialize(id, link_type) ⇒ MissingLink
Returns a new instance of MissingLink.
8 9 10 |
# File 'lib/arx/error.rb', line 8 def initialize(id, link_type) super "arXiv paper #{id} does not have a #{link_type} link" end |