Differences between revisions 4 and 5
Revision 4 as of 2013-05-20 12:47:15
Size: 1386
Editor: JukkaZitting
Comment:
Revision 5 as of 2013-05-20 13:02:28
Size: 1471
Editor: JukkaZitting
Comment:
Deletions are marked like this. Additions are marked like this.
Line 11: Line 11:
|| OakConstraint0004 || No default primary type available for child node X ||

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.

OakConstraint0001

...

Node type validation

OakConstraint000x

Primary and mixin type information

OakConstraint0001

The primary type X does not exist

OakConstraint0002

Mixin type X used as the primary type

OakConstraint0003

Abstract type X used as the primary type

OakConstraint0004

No default primary type available for child node X

OakConstraint0005

The mixin type X does not exist

OakConstraint0006

Primary type X used as a mixin type

OakConstraint0007

Abstract type X used as a mixin type

OakConstraint002x

Presence of mandatory items

OakConstraint0021

Mandatory property X not included in a new node

OakConstraint0022

Mandatory property X can not be removed

OakConstraint0025

Mandatory child node X not included in a new node

OakConstraint0026

Mandatory child node X can not be removed

OakErrorCodes (last edited 2013-05-20 13:02:28 by JukkaZitting)