Exception: TableStoreClientError
- Inherits:
-
StandardError
- Object
- StandardError
- TableStoreClientError
- Defined in:
- lib/tablestore/error.rb
Instance Attribute Summary collapse
-
#http_status ⇒ Object
Returns the value of attribute http_status.
-
#message ⇒ Object
Returns the value of attribute message.
Instance Method Summary collapse
- #get_error_message ⇒ Object
- #get_http_status ⇒ Object
-
#initialize(message, http_status = nil) ⇒ TableStoreClientError
constructor
A new instance of TableStoreClientError.
Constructor Details
#initialize(message, http_status = nil) ⇒ TableStoreClientError
Returns a new instance of TableStoreClientError.
10 11 12 13 |
# File 'lib/tablestore/error.rb', line 10 def initialize(, http_status = nil) @message = @http_status = http_status end |
Instance Attribute Details
#http_status ⇒ Object
Returns the value of attribute http_status.
8 9 10 |
# File 'lib/tablestore/error.rb', line 8 def http_status @http_status end |
#message ⇒ Object
Returns the value of attribute message.
7 8 9 |
# File 'lib/tablestore/error.rb', line 7 def @message end |
Instance Method Details
#get_error_message ⇒ Object
19 20 21 |
# File 'lib/tablestore/error.rb', line 19 def @message end |
#get_http_status ⇒ Object
15 16 17 |
# File 'lib/tablestore/error.rb', line 15 def get_http_status @http_status end |