Extension points in error.ini
Settings of settings/error.ini whose name says they hold handlers, classes, filters, providers or directories that an extension can add to or replace. Found by the setting's name: a heuristic. Read the setting's comment (linked) before relying on it.
An extension adds to a list in its own settings/error.ini.append.php (active extensions' settings are read after the kernel's and before settings/override):
ErrorSettings DefaultErrorHandler
Shipped: displayerror. The setting.
# extension/expexample/settings/error.ini.append.php
[ErrorSettings]
DefaultErrorHandler=displayerror # replace with your class or value
*/ ?>ErrorSettings-kernel ErrorHandler
Shipped: a hash of 1: 1=embed. The setting.
# extension/expexample/settings/error.ini.append.php
[ErrorSettings-kernel]
ErrorHandler[expexample]=expExampleErrorHandler # key and value are yours
*/ ?>ErrorSettings-shop ErrorHandler
Shipped: an empty list. The setting.
# extension/expexample/settings/error.ini.append.php
[ErrorSettings-shop]
ErrorHandler[]=expExampleErrorHandler # your class or value, added to the list
*/ ?>Related
Generated by ./console exp:help:examples from settings/error.ini. Do not edit this page: change the source and generate again (how). Free documentation: GFDL 1.3 or later.