EC2MetadataError

constructor(statusCode: Int, message: String)

Parameters

statusCode

The raw HTTP status code of the response

message

The error message