Skip to content

Internals Model Exceptions ModelCRUDException

Stefan Crkvenjakov edited this page Oct 7, 2026 · 1 revision

model\exceptions\ModelCRUDException

Framework Internals · Subsystem overview · Developer guide

Source: awt_src/classes/model/exceptions/ModelCRUDException.php · Snapshot 8411f4287706.

Models add hydration, persistence, relations, casts and attribute controls to DatabaseManager. Collections hydrate already fetched rows and provide iteration/counting.

Imports and dependencies

use exception\ExceptionBase;

ModelCRUDException

Declaration and architectural role

class ModelCRUDException extends ExceptionBase

Constants, enum cases, traits and properties

No own constants, enum cases, traits or property declarations. Inherited members are documented on the parent reference page.

Method index

Method Signature
buildMessage public function buildMessage(): string

buildMessage

Source line 10

public function buildMessage(): string

Return expressions (including local callbacks): "Model Exception: There was an error performing a CRUD operation. Within {$this->context->contextName}.".

Implementation, validation guards and interaction order
public function buildMessage(): string
    {
        return "Model Exception: There was an error performing a CRUD operation. Within {$this->context->contextName}.";
    }

Related types

Clone this wiki locally