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.



596
597
598
599
600
601
# File 'lib/dependabot/errors.rb', line 596

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.



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

def feature
  @feature
end

#tool_nameObject (readonly)

Returns the value of attribute tool_name.



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

def tool_name
  @tool_name
end

#tool_typeObject (readonly)

Returns the value of attribute tool_type.



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

def tool_type
  @tool_type
end