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.

Constants

DEFAULT_MESSAGE

Default message for the error @return [String]

Public Class Methods

new(message = nil) click to toggle source

Create a new MetadataServerNotResponding.

@param message [String] Error message. If not provided, defaults to

{DEFAULT_MESSAGE}.
Calls superclass method
# File lib/google/cloud/env/compute_metadata.rb, line 876
def initialize message = nil
  message ||= DEFAULT_MESSAGE
  super message
end