EcsElixirCore.Domain.Model.EcsMiddleware.Model.CoreException (ecs_elixir_core v1.0.0)

Copy Markdown

Domain model for a validated and normalized exception before it becomes a log record.

Summary

Types

t()

@type t() :: %EcsElixirCore.Domain.Model.EcsMiddleware.Model.CoreException{
  additional_details: any() | nil,
  additional_info: map(),
  error_code: String.t(),
  error_message: String.t(),
  internal_error_code: String.t() | nil,
  internal_error_message: String.t() | nil,
  level: String.t()
}

Functions

new(attrs)

@spec new(map()) :: {:ok, t()} | {:error, String.t()}