Exception: Dependabot::NpmAndYarn::FileUpdater::NoChangeError
- Inherits:
-
StandardError
- Object
- StandardError
- Dependabot::NpmAndYarn::FileUpdater::NoChangeError
- Extended by:
- T::Sig
- Defined in:
- lib/dependabot/npm_and_yarn/file_updater.rb
Instance Method Summary collapse
-
#initialize(message:, error_context:) ⇒ NoChangeError
constructor
A new instance of NoChangeError.
- #sentry_context ⇒ Object
Constructor Details
#initialize(message:, error_context:) ⇒ NoChangeError
Returns a new instance of NoChangeError.
26 27 28 29 |
# File 'lib/dependabot/npm_and_yarn/file_updater.rb', line 26 def initialize(message:, error_context:) super() @error_context = error_context end |
Instance Method Details
#sentry_context ⇒ Object
32 33 34 |
# File 'lib/dependabot/npm_and_yarn/file_updater.rb', line 32 def sentry_context { extra: @error_context } end |