Packages

Splode helps you deal with errors and exceptions in your application that are aggregatable and consistent.

Current section

Files

Jump to
splode lib splode stacktrace.ex
Raw

lib/splode/stacktrace.ex

defmodule Splode.Stacktrace do
@moduledoc "A placeholder for a stacktrace so that we can avoid printing it everywhere"
defstruct [:stacktrace]
@type t :: %__MODULE__{stacktrace: list}
defimpl Inspect do
def inspect(_, _) do
"#Splode.Stacktrace<>"
end
end
end