Exception: Dependabot::ToolFeatureNotSupported

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(tool_name:, tool_type:, feature:) ⇒ ToolFeatureNotSupported

Returns a new instance of ToolFeatureNotSupported.



586
587
588
589
590
591
# File 'lib/dependabot/errors.rb', line 586

def initialize(tool_name:, tool_type:, feature:)
  @tool_name = tool_name
  @tool_type = tool_type
  @feature = feature
  super(build_message)
end

Instance Attribute Details

#featureObject (readonly)

Returns the value of attribute feature.



577
578
579
# File 'lib/dependabot/errors.rb', line 577

def feature
  @feature
end

#tool_nameObject (readonly)

Returns the value of attribute tool_name.



577
578
579
# File 'lib/dependabot/errors.rb', line 577

def tool_name
  @tool_name
end

#tool_typeObject (readonly)

Returns the value of attribute tool_type.



577
578
579
# File 'lib/dependabot/errors.rb', line 577

def tool_type
  @tool_type
end