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.
67 68 69 70 71 |
# File 'lib/dependabot/shared_helpers.rb', line 67 def initialize(message:, error_context:) super() @error_context = error_context @command = error_context[:command] end |
Instance Method Details
#raven_context ⇒ Object
73 74 75 |
# File 'lib/dependabot/shared_helpers.rb', line 73 def raven_context { fingerprint: [@command], extra: @error_context } end |