Exception: Arx::Error::MissingLink

Inherits:
StandardError
  • Object
show all
Defined in:
lib/arx/error.rb

Overview

Custom error for missing links on an arXiv paper.

Instance Method Summary collapse

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