php-dextrin

SchemaCompileError extends RuntimeException
in package
implements HasCategory

FinalYes

Thrown by {@see Compiler} for a malformed `.dxns` document, with the `schema/compile` category.

Table of Contents

Interfaces

HasCategory
Implemented by any exception that knows its DXN.md ยง5 category -- `syntax`, `binary`, `encode/unsupported`, ... -- so {@see DXNError::wrap()} can carry it across without knowing every concrete exception class, the way {@see HasOffset} carries an offset.

Methods

category()  : string
The category, or null for an exception that has none.

Methods

category()

The category, or null for an exception that has none.

public category() : string
Return values
string
On this page

Search results