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
Source
# File lib/google/cloud/env/compute_metadata.rb, line 877 def initialize message = nil message ||= DEFAULT_MESSAGE super message end
Create a new MetadataServerNotResponding
.
@param message [String] Error message. If not provided, defaults to
{DEFAULT_MESSAGE}.
Calls superclass method