Skip to content

Internals Package Manifest Exceptions ManifestReaderException

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

package\manifest\exceptions\ManifestReaderException

Framework Internals · Subsystem overview · Developer guide

Source: awt_src/classes/package/manifest/exceptions/ManifestReaderException.php · Snapshot 8411f4287706.

Package metadata is persisted in awt_package. Manifest readers validate input and package services build installed models; startup executes enabled nonzero-type packages.

Imports and dependencies

use exception\ExceptionBase;

ManifestReaderException

Declaration and architectural role

class ManifestReaderException extends ExceptionBase

Constants, enum cases, traits and properties

Declarations below preserve visibility, type, default and modifiers exactly. A typed property without an initializer remains uninitialized until its constructor or another method assigns it. Mutable fields belong to this instance unless marked static; readonly fields can be initialized once. Constructor-promoted properties are also listed below.

Member Declaration Purpose or source contract
"; State or definition consumed by the methods below; reads and writes are preserved in their implementation traces.
Constructor-promoted public readonly string $name Initialized from the constructor argument; default expression is evaluated when the argument is omitted.
Constructor-promoted public readonly string $path Initialized from the constructor argument; default expression is evaluated when the argument is omitted.

Method index

Method Signature
__construct public function __construct( public readonly string $name, public readonly string $path )
buildMessage public function buildMessage(): string

__construct

Source line 10

public function __construct(
        public readonly string $name,
        public readonly string $path
    )

Parameters

Parameter Type, modifiers and default Purpose
$name public readonly string $name Named key/label selected by this API; its exact scope is shown by the implementation trace.
$path public readonly string $path Filesystem or route path as defined by the owning component; no universal path normalization is implied.

Computes or delegates the operation shown below; no explicit receiver property assignment or throw occurs in this method.

Implementation, validation guards and interaction order
public function __construct(
        public readonly string $name,
        public readonly string $path
    )
    {
        parent::__construct();
    }

buildMessage

Source line 18

public function buildMessage(): string

Computes or delegates the operation shown below; no explicit receiver property assignment or throw occurs in this method.

Implementation, validation guards and interaction order
public function buildMessage(): string
    {
        return "Manifest Reader Exception: There was an error reading the manifest file. {$this->name} at {$this->path}}

Related types

Clone this wiki locally