Exception: Legate::Auth::EnvironmentVariableNotFoundError

Inherits:
CredentialError show all
Defined in:
lib/legate/auth/error.rb

Overview

Raised when an environment variable used for credentials is not found

Instance Method Summary collapse

Constructor Details

#initialize(var_name, cause = nil) ⇒ EnvironmentVariableNotFoundError

Returns a new instance of EnvironmentVariableNotFoundError.

Parameters:

  • var_name (String)

    The name of the environment variable



82
83
84
# File 'lib/legate/auth/error.rb', line 82

def initialize(var_name, cause = nil)
  super("Environment variable not found: #{var_name}", cause)
end