Exception: Rager::Errors::MissingCredentialsError

Inherits:
Rager::Error
  • Object
show all
Extended by:
T::Sig
Defined in:
lib/rager/errors/missing_credentials_error.rb

Instance Method Summary collapse

Constructor Details

#initialize(provider_name, env_var = nil) ⇒ MissingCredentialsError

Returns a new instance of MissingCredentialsError.



12
13
14
15
16
# File 'lib/rager/errors/missing_credentials_error.rb', line 12

def initialize(provider_name, env_var = nil)
  message = "Missing credentials for provider #{provider_name}"
  message += " -- attempted lookup with #{env_var}" if env_var
  super(message)
end