ConflictError
extends AuthzError
in package
FinalYes
`409 Conflict` on the §27 management surface — CONTRACT.md §27.4 rule 7.
Extends AuthzError because §2 already maps 409 there as a resource-level
refusal; rule 7 KEEPS that mapping rather than moving it. A catch (AuthzError $e)
written before §27 existed therefore behaves exactly as it did.
Table of Contents
Methods
- __construct() : mixed
- getAction() : string|null
- Action the caller was denied (e.g. `users:delete`).
- getResourceId() : string|null
- Resource the denial applies to.
Methods
__construct()
public
__construct(string $message) : mixed
Parameters
- $message : string
-
Describes what already exists, or what state forbids the write.
getAction()
Action the caller was denied (e.g. `users:delete`).
public
getAction() : string|null
Return values
string|null —null when the server did not report an action.
getResourceId()
Resource the denial applies to.
public
getResourceId() : string|null
Return values
string|null —null for a global (non-resource-scoped) denial, or when the
server did not report a resource.