class Gapic::Rest::Error
def initialize message, status_code, status: nil, details: nil, headers: nil
-
headers
(Object, nil
) -- Http headers data of this error -
details
(Object, nil
) -- Details data of this error -
status
(String, nil
) -- The text representation of status as parsed from the response body -
status_code
(Integer, nil
) -- HTTP status code of this error -
message
(String, nil
) -- error message
def initialize message, status_code, status: nil, details: nil, headers: nil super message @status_code = status_code @status = status @details = details @headers = headers end