View Source Defectoscope.Builders.Common (Defectoscope v0.1.3)

Provides common utility functions to help report builders

Summary

Functions

Determines the kind of error based on the reason

Formats a stacktrace into a list of strings

Functions

@spec format_kind(reason :: any()) :: atom() | String.t()

Determines the kind of error based on the reason

Link to this function

format_stacktrace(stacktrace)

View Source
@spec format_stacktrace(stacktrace :: Exception.stacktrace()) :: [String.t()]

Formats a stacktrace into a list of strings