Base logic around handling alerts
message(String.t(), Map.t(), Map.t()) :: {:ok, String.t()} | {:error, String.t()}