View Source Mobilizon.Service.ErrorReporting behaviour (Mobilizon v5.0.0-beta.1)

Module to load and configure error reporting adapters

Summary

Callbacks

@callback attach() :: any()
@callback configure() :: any()
@callback enabled?() :: boolean()
Link to this callback

handle_event(list, map, map, any)

View Source
@callback handle_event([atom()], map(), map(), any()) :: any()

Functions

@spec adapter() :: module() | nil
@spec configure() :: any()
Link to this function

handle_event(event_name, event_measurements, event_metadata, handler_config)

View Source
@spec handle_event([atom()], map(), map(), any()) :: any()