AdminErrorKind
Corex\Admin\Errors\AdminErrorKind · enum · Core layer
What kind of refusal a person has met (spec 083, FR-003). Deliberately free of copy and of WordPress: the presenter owns the words, so this can be reasoned about and tested without booting anything, and a translation can never change a classification.
Public API
Section titled “Public API”status(): int
Section titled “status(): int”The HTTP status this kind implies when the caller supplied none. A caller’s own status always wins: wp_die() is given one by whoever called it, and that caller knows something this enum does not.
variant(): string
Section titled “variant(): string”The CSS modifier appended to the standalone document’s body class. Matches {@see \Corex\Admin\StandalonePage::document()}‘s $variant, which strips anything outside [a-z0-9-] — so every case here must already be in that alphabet.