Exception: Dependabot::SharedHelpers::HelperSubprocessFailed
- Inherits:
-
StandardError
- Object
- StandardError
- Dependabot::SharedHelpers::HelperSubprocessFailed
- Defined in:
- lib/dependabot/shared_helpers.rb
Instance Method Summary collapse
-
#initialize(message:, error_context:) ⇒ HelperSubprocessFailed
constructor
A new instance of HelperSubprocessFailed.
- #raven_context ⇒ Object
Constructor Details
#initialize(message:, error_context:) ⇒ HelperSubprocessFailed
Returns a new instance of HelperSubprocessFailed.
66 67 68 69 70 |
# File 'lib/dependabot/shared_helpers.rb', line 66 def initialize(message:, error_context:) super() @error_context = error_context @command = error_context[:command] end |
Instance Method Details
#raven_context ⇒ Object
72 73 74 |
# File 'lib/dependabot/shared_helpers.rb', line 72 def raven_context { fingerprint: [@command], extra: @error_context } end |