Exception: RestPki::RestUnreachableError
- Inherits:
-
RestBaseError
- Object
- StandardError
- RestBaseError
- RestPki::RestUnreachableError
- Defined in:
- lib/rest_pki/rest_unreachable_error.rb
Instance Attribute Summary
Attributes inherited from RestBaseError
Instance Method Summary collapse
-
#initialize(verb, url, error_message = nil) ⇒ RestUnreachableError
constructor
A new instance of RestUnreachableError.
Constructor Details
#initialize(verb, url, error_message = nil) ⇒ RestUnreachableError
Returns a new instance of RestUnreachableError.
5 6 7 8 9 10 11 |
# File 'lib/rest_pki/rest_unreachable_error.rb', line 5 def initialize(verb, url, =nil) = "REST action #{verb} #{url} unreachable" unless .to_s.blank? += ": #{}" end super(, verb, url) end |