Exception: Gastly::FetchError
- Inherits:
-
StandardError
- Object
- StandardError
- Gastly::FetchError
- Defined in:
- lib/gastly/exceptions.rb
Instance Attribute Summary collapse
-
#url ⇒ Object
readonly
Returns the value of attribute url.
Instance Method Summary collapse
-
#initialize(url) ⇒ FetchError
constructor
A new instance of FetchError.
Constructor Details
#initialize(url) ⇒ FetchError
5 6 7 |
# File 'lib/gastly/exceptions.rb', line 5 def initialize(url) super("Unable to load #{url}") end |
Instance Attribute Details
#url ⇒ Object (readonly)
Returns the value of attribute url.
3 4 5 |
# File 'lib/gastly/exceptions.rb', line 3 def url @url end |