Exception: Dependabot::InvalidGitAuthToken
- Inherits:
-
DependabotError
- Object
- StandardError
- DependabotError
- Dependabot::InvalidGitAuthToken
- Extended by:
- T::Sig
- Defined in:
- lib/dependabot/errors.rb,
lib/dependabot/errors.rb
Constant Summary
Constants inherited from DependabotError
DependabotError::BASIC_AUTH_REGEX, DependabotError::FURY_IO_PATH_REGEX
Instance Attribute Summary collapse
-
#source ⇒ Object
readonly
Returns the value of attribute source.
Instance Method Summary collapse
-
#initialize(source) ⇒ InvalidGitAuthToken
constructor
A new instance of InvalidGitAuthToken.
Constructor Details
#initialize(source) ⇒ InvalidGitAuthToken
Returns a new instance of InvalidGitAuthToken.
614 615 616 617 618 |
# File 'lib/dependabot/errors.rb', line 614 def initialize(source) @source = T.let(sanitize_source(source), String) msg = "Missing or invalid authentication token while accessing github package : #{@source}" super(msg) end |
Instance Attribute Details
#source ⇒ Object (readonly)
Returns the value of attribute source.
611 612 613 |
# File 'lib/dependabot/errors.rb', line 611 def source @source end |