Zocam.Point.ComposeError exception (Zocam v0.2.0)

Copy Markdown View Source

Raised (or returned) when two points do not compose.

Summary

Types

reason()

@type reason() :: :grain_gap | :cross_cycle | :invalid | :anchored

t()

@type t() :: %Zocam.Point.ComposeError{
  __exception__: term(),
  hint: String.t(),
  left: Zocam.Point.t(),
  message: String.t(),
  reason: reason(),
  right: Zocam.Point.t()
}