Exception: Google::Cloud::Env::MetadataServerNotResponding
- Inherits:
-
StandardError
- Object
- StandardError
- Google::Cloud::Env::MetadataServerNotResponding
- Defined in:
- lib/google/cloud/env/compute_metadata.rb
Overview
Error raised when the compute metadata server is expected to be present in the current environment, but couldn't be contacted.
Constant Summary collapse
- DEFAULT_MESSAGE =
Default message for the error
"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."
Instance Method Summary collapse
-
#initialize(message = nil) ⇒ MetadataServerNotResponding
constructor
Create a new MetadataServerNotResponding.
Constructor Details
#initialize(message = nil) ⇒ MetadataServerNotResponding
Create a new MetadataServerNotResponding.
876 877 878 879 |
# File 'lib/google/cloud/env/compute_metadata.rb', line 876 def initialize = nil ||= DEFAULT_MESSAGE super end |