Translates an ErrorTracker error + occurrence into a Boop.Event.
Works on the %ErrorTracker.Error{} / %ErrorTracker.Occurrence{} structs but only reads
fields, so plain maps with the same keys work too (that is how the tests drive it).
Summary
Functions
Builds the Boop event for trigger (:new, :unresolved, :occurrence).
Functions
@spec build( map(), map() | nil, BoopErrorTracker.Config.trigger(), BoopErrorTracker.Config.t() ) :: Boop.Event.t()
Builds the Boop event for trigger (:new, :unresolved, :occurrence).