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.
Node type validation
OakConstraint000x |
Primary and mixin type information |
The primary type X does not exist |
|
Mixin type X used as the primary type |
|
Abstract type X used as the primary type |
|
No default primary type available for child node X |
|
The mixin type X does not exist |
|
Primary type X used as a mixin type |
|
Abstract type X used as a mixin type |
|
OakConstraint002x |
Presence of mandatory items |
Mandatory property X not included in a new node |
|
Mandatory property X can not be removed |
|
Mandatory child node X not included in a new node |
|
Mandatory child node X can not be removed |