AbsinthePermission.CompileError exception (AbsinthePermission v1.0.0)

Copy Markdown View Source

Raised at schema compile time when the DSL is misused — unknown permission, unknown loader, malformed condition expression, etc.

These errors are meant to be loud. They make typos fail mix compile rather than fail in production at request time.

Summary

Types

t()

@type t() :: %AbsinthePermission.CompileError{
  __exception__: true,
  location: keyword() | nil,
  message: binary()
}