CoolCMS API

SetCompositionError.php

Table of Contents

Classes

SetCompositionError
Stable markers of set composition errors. The Api manager puts them into `Result::getMessage()` and the Admin form picks the user message from them. `ResultCode` is not enough: `DB_DUPLICATE_ENTRY` is returned for a duplicate `code` and for an occupied variant, `VALIDATION_FAILED` for a cycle and for anything else. The bridge carries `message` unchanged.
On this page

Search results