Exception: Dependabot::BranchNotFound
- Inherits:
-
DependabotError
- Object
- StandardError
- DependabotError
- Dependabot::BranchNotFound
- Defined in:
- lib/dependabot/errors.rb
Overview
Repo level errors #
Instance Attribute Summary collapse
-
#branch_name ⇒ Object
readonly
Returns the value of attribute branch_name.
Instance Method Summary collapse
-
#initialize(branch_name, msg = nil) ⇒ BranchNotFound
constructor
A new instance of BranchNotFound.
Constructor Details
#initialize(branch_name, msg = nil) ⇒ BranchNotFound
Returns a new instance of BranchNotFound.
34 35 36 37 38 |
# File 'lib/dependabot/errors.rb', line 34 def initialize(branch_name, msg = nil) @branch_name = branch_name msg = (msg) super(msg) end |
Instance Attribute Details
#branch_name ⇒ Object (readonly)
Returns the value of attribute branch_name.
32 33 34 |
# File 'lib/dependabot/errors.rb', line 32 def branch_name @branch_name end |