Exception: RestPki::RestBaseError
- Inherits:
-
StandardError
- Object
- StandardError
- RestPki::RestBaseError
- Defined in:
- lib/rest_pki/rest_base_error.rb
Direct Known Subclasses
RestError, RestPkiError, RestUnreachableError, ValidationError
Instance Attribute Summary collapse
-
#url ⇒ Object
readonly
Returns the value of attribute url.
-
#verb ⇒ Object
readonly
Returns the value of attribute verb.
Instance Method Summary collapse
-
#initialize(message, verb, url) ⇒ RestBaseError
constructor
A new instance of RestBaseError.
Constructor Details
#initialize(message, verb, url) ⇒ RestBaseError
Returns a new instance of RestBaseError.
6 7 8 9 10 |
# File 'lib/rest_pki/rest_base_error.rb', line 6 def initialize(, verb, url) super() @verb = verb @url = url end |
Instance Attribute Details
#url ⇒ Object (readonly)
Returns the value of attribute url.
4 5 6 |
# File 'lib/rest_pki/rest_base_error.rb', line 4 def url @url end |
#verb ⇒ Object (readonly)
Returns the value of attribute verb.
4 5 6 |
# File 'lib/rest_pki/rest_base_error.rb', line 4 def verb @verb end |