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 rubocop:enable Metrics/AbcSize

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



396
397
398
# File 'lib/dependabot/errors.rb', line 396

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