Exception: Dependabot::DependabotError

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

Overview

rubocop:enable Metrics/MethodLength

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.



248
249
250
# File 'lib/dependabot/errors.rb', line 248

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