Nous.Session.Invariant.Violation exception (nous v0.17.1)

Copy Markdown View Source

Raised by Nous.Session.Invariant.verify/2 in :strict mode.

:details is the Nous.Session.Invariant.details/0 map that also travels as the telemetry metadata.

Summary

Types

t()

@type t() :: %Nous.Session.Invariant.Violation{
  __exception__: true,
  details: map(),
  message: String.t()
}