Exception: Graphlient::Errors::Error
- Inherits:
-
StandardError
- Object
- StandardError
- Graphlient::Errors::Error
- Defined in:
- lib/graphlient/errors/error.rb
Direct Known Subclasses
ClientError, ExecutionError, GraphQLError, HttpOptionsError, HttpServerError, ServerError, TimeoutError
Instance Attribute Summary collapse
-
#inner_exception ⇒ Object
readonly
Returns the value of attribute inner_exception.
Instance Method Summary collapse
-
#initialize(message, inner_exception = nil) ⇒ Error
constructor
A new instance of Error.
Constructor Details
#initialize(message, inner_exception = nil) ⇒ Error
Returns a new instance of Error.
5 6 7 8 9 |
# File 'lib/graphlient/errors/error.rb', line 5 def initialize(, inner_exception = nil) super() @inner_exception = inner_exception end |
Instance Attribute Details
#inner_exception ⇒ Object (readonly)
Returns the value of attribute inner_exception.
4 5 6 |
# File 'lib/graphlient/errors/error.rb', line 4 def inner_exception @inner_exception end |