Exception: TableStoreClientError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/tablestore/error.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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(message, http_status = nil)
  @message = message
  @http_status = http_status
end

Instance Attribute Details

#http_statusObject

Returns the value of attribute http_status.



8
9
10
# File 'lib/tablestore/error.rb', line 8

def http_status
  @http_status
end

#messageObject

Returns the value of attribute message.



7
8
9
# File 'lib/tablestore/error.rb', line 7

def message
  @message
end

Instance Method Details

#get_error_messageObject



19
20
21
# File 'lib/tablestore/error.rb', line 19

def get_error_message
  @message
end

#get_http_statusObject



15
16
17
# File 'lib/tablestore/error.rb', line 15

def get_http_status
  @http_status
end