Exception: Dependabot::MisconfiguredTooling
- Inherits:
 - 
      DependabotError
      
        
- Object
 - StandardError
 - DependabotError
 - Dependabot::MisconfiguredTooling
 
 
- Extended by:
 - T::Sig
 
- Defined in:
 - lib/dependabot/errors.rb
 
Overview
File level errors #
Constant Summary
Constants inherited from DependabotError
DependabotError::BASIC_AUTH_REGEX, DependabotError::FURY_IO_PATH_REGEX
Instance Attribute Summary collapse
- 
  
    
      #tool_message  ⇒ Object 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    
Returns the value of attribute tool_message.
 - 
  
    
      #tool_name  ⇒ Object 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    
Returns the value of attribute tool_name.
 
Instance Method Summary collapse
- 
  
    
      #initialize(tool_name, tool_message)  ⇒ MisconfiguredTooling 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of MisconfiguredTooling.
 
Constructor Details
#initialize(tool_name, tool_message) ⇒ MisconfiguredTooling
Returns a new instance of MisconfiguredTooling.
      438 439 440 441 442 443 444 445  | 
    
      # File 'lib/dependabot/errors.rb', line 438 def initialize(tool_name, ) @tool_name = tool_name @tool_message = msg = "Dependabot detected that #{tool_name} is misconfigured in this repository. " \ "Running `#{tool_name.downcase}` results in the following error: #{}" super(msg) end  | 
  
Instance Attribute Details
#tool_message ⇒ Object (readonly)
Returns the value of attribute tool_message.
      430 431 432  | 
    
      # File 'lib/dependabot/errors.rb', line 430 def @tool_message end  | 
  
#tool_name ⇒ Object (readonly)
Returns the value of attribute tool_name.
      427 428 429  | 
    
      # File 'lib/dependabot/errors.rb', line 427 def tool_name @tool_name end  |