Module: LcpRuby::Authorization::Codes
- Defined in:
- lib/lcp_ruby/authorization/codes.rb
Overview
Single source of truth for runtime authorization codes emitted via ‘LcpRuby.record_error`. Boot-time validator codes (AUTH-001..009) live in `InvariantCheck::Configuration::DEFAULT_SEVERITIES`; these runtime codes are NOT severity-configurable.
See docs/reference/invariant_check.md § “Runtime-only codes” for the contract.
Constant Summary collapse
- AUTH_002_RUNTIME =
standalone page reached with no gate
"AUTH-002-runtime".freeze
- AUTH_003 =
malformed visible_when shape
"AUTH-003".freeze
- AUTH_010 =
visible_when evaluator raised
"AUTH-010".freeze
- AUTH_011 =
PageAuthorization wiring sentinel
"AUTH-011".freeze