Exception: GProv::Error
- Inherits:
-
Exception
- Object
- Exception
- GProv::Error
- Defined in:
- lib/gprov/error.rb
Direct Known Subclasses
Defined Under Namespace
Classes: InputInvalid, QuotaExceeded, TokenInvalid
Instance Attribute Summary collapse
-
#request ⇒ Object
readonly
Returns the value of attribute request.
Instance Method Summary collapse
-
#initialize(request = nil) ⇒ Error
constructor
A new instance of Error.
Constructor Details
#initialize(request = nil) ⇒ Error
Returns a new instance of Error.
20 21 22 |
# File 'lib/gprov/error.rb', line 20 def initialize(request = nil) @request = request end |
Instance Attribute Details
#request ⇒ Object (readonly)
Returns the value of attribute request.
18 19 20 |
# File 'lib/gprov/error.rb', line 18 def request @request end |