Exception: Dependabot::DependabotError

Inherits:
StandardError
  • Object
show all
Extended by:
T::Sig
Defined in:
lib/dependabot/errors.rb

Overview

rubocop:enable Metrics/MethodLength rubocop:enable Metrics/CyclomaticComplexity rubocop:enable Lint/RedundantCopDisableDirective

Constant Summary collapse

BASIC_AUTH_REGEX =
%r{://(?<auth>[^:@]*:[^@%\s/]+(@|%40))}
FURY_IO_PATH_REGEX =

Remove any path segment from fury.io sources

%r{fury\.io/(?<path>.+)}

Instance Method Summary collapse

Constructor Details

#initialize(message = nil) ⇒ DependabotError

Returns a new instance of DependabotError.



294
295
296
# File 'lib/dependabot/errors.rb', line 294

def initialize(message = nil)
  super(sanitize_message(message))
end