Exception: Dependabot::BranchNotFound

Inherits:
DependabotError show all
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

Instance Method Summary collapse

Constructor Details

#initialize(branch_name, msg = nil) ⇒ BranchNotFound

Returns a new instance of BranchNotFound.



321
322
323
324
# File 'lib/dependabot/errors.rb', line 321

def initialize(branch_name, msg = nil)
  @branch_name = branch_name
  super(msg)
end

Instance Attribute Details

#branch_nameObject (readonly)

Returns the value of attribute branch_name.



318
319
320
# File 'lib/dependabot/errors.rb', line 318

def branch_name
  @branch_name
end