lib/oci/errors.rb
# Error code, which is mapped to Net::HTTPResponse's code.to_i or 0 if the issue was reported by an exception.
#
# @return [Integer]
Error code, which is mapped to Net::HTTPResponse's code.to_i or 0 if the issue was reported by an exception.
Error code which is mapped to Net :: HTTPResponse ' s code . to_i or 0 if the issue was reported by an exception .
def to_s
        response_body = response_received.body unless response_received.nil?
        "{ 'message': '#{message}', 'status': #{code}, " \
        "'opc-request-id': '#{request_id}', 'response-body': '#{response_body}' }"
      end
def to_s response_body = response_received . body unless response_received . nil? "{ 'message': '#{message}', 'status': #{code}, " "'opc-request-id': '#{request_id}', 'response-body': '#{response_body}' }" end
Error code, which is mapped to Net::HTTPResponse's code.to_i or 0 if the issue was reported by an exception.
Error code which is mapped to Net :: HTTPResponse ' s code . to_i or 0 if the issue was reported by an exception .
None
Integer