Reference documentation and code samples for the Google Cloud Platform environment queries class Google::Cloud::Env::MetadataServerNotResponding.
Error raised when the compute metadata server is expected to be present in the current environment, but couldn't be contacted.
Inherits
- StandardError
Methods
#initialize
def initialize(message = nil) -> MetadataServerNotResponding
Create a new MetadataServerNotResponding.
- message (String) — Error message. If not provided, defaults to DEFAULT_MESSAGE.
- (MetadataServerNotResponding) — a new instance of MetadataServerNotResponding
Constants
DEFAULT_MESSAGE
value: "The Google Metadata Server did not respond to queries. This " \
"could be because no Server is present, the Server has not yet " \
"finished starting up, the Server is running but overloaded, or " \
"Server could not be contacted due to networking issues."
Default message for the error