class Oss::ResponseError
Attributes
error_code[R]
error_message[R]
header[R]
host_id[R]
http_status[R]
request_id[R]
Public Class Methods
new(err_attrs, err_msg)
click to toggle source
Calls superclass method
# File lib/oss/error.rb, line 7 def initialize(err_attrs, err_msg) @error_code = err_attrs[:code] @error_message = err_attrs[:message] @http_status = err_attrs[:http_status] @header = err_attrs[:header] @request_id = err_attrs[:request_id] @host_id = err_attrs[:host_id] super err_msg end