Exception: Dependabot::MissingEnvironmentVariable
- Inherits:
-
DependabotError
- Object
- StandardError
- DependabotError
- Dependabot::MissingEnvironmentVariable
- Extended by:
- T::Sig
- Defined in:
- lib/dependabot/errors.rb
Constant Summary
Constants inherited from DependabotError
DependabotError::BASIC_AUTH_REGEX, DependabotError::FURY_IO_PATH_REGEX
Instance Attribute Summary collapse
-
#environment_variable ⇒ Object
readonly
Returns the value of attribute environment_variable.
-
#message ⇒ Object
readonly
Returns the value of attribute message.
Instance Method Summary collapse
-
#initialize(environment_variable, message = "") ⇒ MissingEnvironmentVariable
constructor
A new instance of MissingEnvironmentVariable.
Constructor Details
#initialize(environment_variable, message = "") ⇒ MissingEnvironmentVariable
Returns a new instance of MissingEnvironmentVariable.
585 586 587 588 589 590 |
# File 'lib/dependabot/errors.rb', line 585 def initialize(environment_variable, = "") @environment_variable = environment_variable @message = super("Missing environment variable #{@environment_variable}. #{@message}") end |
Instance Attribute Details
#environment_variable ⇒ Object (readonly)
Returns the value of attribute environment_variable.
579 580 581 |
# File 'lib/dependabot/errors.rb', line 579 def environment_variable @environment_variable end |
#message ⇒ Object (readonly)
Returns the value of attribute message.
582 583 584 |
# File 'lib/dependabot/errors.rb', line 582 def @message end |