lib/runbox/error_message.ex

defmodule Runbox.ErrorMessage do
  @moduledoc group: :messages
  @moduledoc """
  Dead-letter message produced when evaluating of raw-topic failed.
  """

  alias __MODULE__

  defstruct [:reason, :original]

  @type t :: %ErrorMessage{reason: term(), original: term()}
end