class Dependabot::SharedHelpers::HelperSubprocessFailed
def initialize(message:, error_context:, error_class: nil, trace: nil)
def initialize(message:, error_context:, error_class: nil, trace: nil) super(message) @error_class = T.let(error_class || "HelperSubprocessFailed", String) @error_context = error_context @fingerprint = T.let(error_context[:fingerprint] || error_context[:command], T.nilable(String)) @trace = trace end
def sentry_context
def sentry_context { fingerprint: [@fingerprint], extra: @error_context.except(:stderr_output, :fingerprint) } end