ExBoxPacker.TimeoutError exception (ExBoxPacker v0.2.0)

Copy Markdown View Source

Raised when packing exceeds the configured timeout. Port of BoxPacker's TimeoutException.

spent_time and timeout are both in seconds.

Summary

Types

t()

@type t() :: %ExBoxPacker.TimeoutError{
  __exception__: term(),
  message: String.t(),
  spent_time: float(),
  timeout: float()
}