php-dextrin

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.

Table of Contents

Methods

category()  : string|null
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|null
Return values
string|null
On this page

Search results