EC2MetadataError

class EC2MetadataError(val status: <Error class: unknown class>, message: String)

Exception thrown when an error occurs retrieving metadata from IMDS

Parameters

status

The HTTP status code of the response

message

The error message

Constructors

Link copied to clipboard
constructor(status: <Error class: unknown class>, message: String)

Properties

Link copied to clipboard
val status: <Error class: unknown class>