View Source Antikythera.ErrorReason (antikythera v0.5.1)
Type module for error that describes what went wrong during a process execution.
Possible values for t/0
are:
{:error, Exception.t}
: An exception was thrown and was not handled.:timeout
: Execution timed out.:killed
: Process was brutally killed, typically due to heap limit violation.{:throw, any}
: A value was thrown but not caught.{:exit, any}
: Process exited before completing the execution.
Summary
Types
@type gear_action_error_reason() :: t() | :timeout_in_epool_checkout
@type stacktrace() :: [stack_item()]
@type t() :: {:error, Exception.t()} | {:throw, any()} | {:exit, any()} | :timeout | :killed
Functions
@spec format(gear_action_error_reason(), stacktrace()) :: String.t()