ExMonty.Exception (ExMonty v0.5.0)

Copy Markdown View Source

Represents a Python exception raised during execution.

Fields

  • :type - the exception type as an atom (e.g., :value_error, :type_error)
  • :message - the exception message string, or nil
  • :traceback - list of ExMonty.StackFrame structs

Summary

Types

t()

@type t() :: %ExMonty.Exception{
  message: String.t() | nil,
  traceback: [ExMonty.StackFrame.t()],
  type: atom()
}