Error Codes
Since OAK-764 the CommitFailedExceptions thrown by commit hooks in Oak come with error codes that help identify the cause of a problem and locate additional information about the issue. This page is an informal registry of common error codes.
Type Constraint
Node type validation
OakConstraint000x | Primary and mixin type information |
---|---|
0001 | The primary type X does not exist |
0002 | Mixin type X used as the primary type |
0003 | Abstract type X used as the primary type |
0004 | No default primary type available for child node X |
0005 | The mixin type X does not exist |
0006 | Primary type X used as a mixin type |
0007 | Abstract type X used as a mixin type |
OakConstraint002x | Presence of mandatory items |
---|---|
0021 | Mandatory property X not included in a new node |
0022 | Mandatory property X can not be removed |
0025 | Mandatory child node X not included in a new node |
0026 | Mandatory child node X can not be removed |
User Validation
see section User Management
Privilege Validation
see section Privilege Management
Token Validation
see section Token Management
Type Access
Permission Validation
see section Permissions
Type Access Control
Default Access Control Validation
see section Access Control Management
CUG Validation
see section Closed User Groups