Exception: Altertable::Lakehouse::Error
- Inherits:
-
StandardError
- Object
- StandardError
- Altertable::Lakehouse::Error
- Defined in:
- lib/altertable/lakehouse.rb,
lib/altertable/lakehouse/errors.rb
Direct Known Subclasses
ApiError, AuthError, BadRequestError, ConfigurationError, NetworkError, ParseError, SerializationError, TimeoutError
Instance Attribute Summary collapse
-
#cause ⇒ Object
readonly
Returns the value of attribute cause.
-
#http_method ⇒ Object
readonly
Returns the value of attribute http_method.
-
#http_path ⇒ Object
readonly
Returns the value of attribute http_path.
-
#operation ⇒ Object
readonly
Returns the value of attribute operation.
-
#request_id ⇒ Object
readonly
Returns the value of attribute request_id.
-
#retriable ⇒ Object
readonly
Returns the value of attribute retriable.
-
#status_code ⇒ Object
readonly
Returns the value of attribute status_code.
Instance Method Summary collapse
-
#initialize(message, operation: nil, http_method: nil, http_path: nil, status_code: nil, retriable: false, request_id: nil, cause: nil) ⇒ Error
constructor
A new instance of Error.
Constructor Details
#initialize(message, operation: nil, http_method: nil, http_path: nil, status_code: nil, retriable: false, request_id: nil, cause: nil) ⇒ Error
Returns a new instance of Error.
6 7 8 9 10 11 12 13 14 15 |
# File 'lib/altertable/lakehouse/errors.rb', line 6 def initialize(, operation: nil, http_method: nil, http_path: nil, status_code: nil, retriable: false, request_id: nil, cause: nil) super() @operation = operation @http_method = http_method @http_path = http_path @status_code = status_code @retriable = retriable @request_id = request_id @cause = cause end |
Instance Attribute Details
#cause ⇒ Object (readonly)
Returns the value of attribute cause.
4 5 6 |
# File 'lib/altertable/lakehouse/errors.rb', line 4 def cause @cause end |
#http_method ⇒ Object (readonly)
Returns the value of attribute http_method.
4 5 6 |
# File 'lib/altertable/lakehouse/errors.rb', line 4 def http_method @http_method end |
#http_path ⇒ Object (readonly)
Returns the value of attribute http_path.
4 5 6 |
# File 'lib/altertable/lakehouse/errors.rb', line 4 def http_path @http_path end |
#operation ⇒ Object (readonly)
Returns the value of attribute operation.
4 5 6 |
# File 'lib/altertable/lakehouse/errors.rb', line 4 def operation @operation end |
#request_id ⇒ Object (readonly)
Returns the value of attribute request_id.
4 5 6 |
# File 'lib/altertable/lakehouse/errors.rb', line 4 def request_id @request_id end |
#retriable ⇒ Object (readonly)
Returns the value of attribute retriable.
4 5 6 |
# File 'lib/altertable/lakehouse/errors.rb', line 4 def retriable @retriable end |
#status_code ⇒ Object (readonly)
Returns the value of attribute status_code.
4 5 6 |
# File 'lib/altertable/lakehouse/errors.rb', line 4 def status_code @status_code end |