lib/honeybadger/fingerprint_adapter.ex
defmodule Honeybadger.FingerprintAdapter do
@moduledoc """
The callbacks required to implement the FingerprintAdapter behaviour
"""
alias Honeybadger.Notice
@doc """
This function receives a `t:Honeybadger.Notice.t/0` and must return a string that will be used
as a fingerprint for the request:
def parse(notice) do
notice.notifier.language <> "_" <> notice.notifier.name
end
"""
@callback parse(Notice.t()) :: String.t()
end