Exception: Rager::Errors::CredentialsError
- Inherits:
-
Rager::Error
- Object
- StandardError
- Rager::Error
- Rager::Errors::CredentialsError
- Extended by:
- T::Sig
- Defined in:
- lib/rager/errors/credentials_error.rb
Instance Method Summary collapse
-
#initialize(provider, env_var: [], details: nil) ⇒ CredentialsError
constructor
A new instance of CredentialsError.
Constructor Details
#initialize(provider, env_var: [], details: nil) ⇒ CredentialsError
Returns a new instance of CredentialsError.
12 13 14 15 16 17 18 19 20 21 |
# File 'lib/rager/errors/credentials_error.rb', line 12 def initialize(provider, env_var: [], details: nil) error_data = { type: "credentials", provider: provider, env_var: env_var, details: details } super(error_data.to_json) end |