Exception: Dependabot::Bun::FileUpdater::NoChangeError

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

Instance Method Summary collapse

Constructor Details

#initialize(message:, error_context:) ⇒ NoChangeError

Returns a new instance of NoChangeError.



24
25
26
27
# File 'lib/dependabot/bun/file_updater.rb', line 24

def initialize(message:, error_context:)
  super(message)
  @error_context = error_context
end

Instance Method Details

#sentry_contextObject



30
31
32
# File 'lib/dependabot/bun/file_updater.rb', line 30

def sentry_context
  { extra: @error_context }
end