Current section
Files
Jump to
Current section
Files
lib/ex_rollbar/rest_api/payload/data/body.ex
defmodule ExRollbar.RestAPI.Payload.Data.Body do
docstr = """
`body` struct for Rollbar Data object.
"""
alias ExRollbar.RestAPI.Payload.Data.Body.{
Trace,
Message,
# Not implemented.
TraceChain,
CrashReport
}
@moduledoc docstr
@typedoc docstr
@type t ::
%{required(:trace) => Trace.t}
| %{required(:trace_chain) => TraceChain.t}
| %{required(:message) => Message.t}
| %{required(:crash_report) => CrashReport.t}
end