Skip to the content
Documentation
Help Start
Reading in:
  • German: 9,059 of 9,059 pages
About the help in other languages
All help pages

Extension points in error.ini

Settings of error.ini that list handlers, classes or directories an extension can add to (3, found by name).

Download as PDF

Address: https://doc.exponential.earth/learninminutes/exphelp/viewer/examples/extension-points/error.md

On this page

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.

<?php /* #?ini charset="utf-8"?
# 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.

<?php /* #?ini charset="utf-8"?
# 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.

<?php /* #?ini charset="utf-8"?
# extension/expexample/settings/error.ini.append.php
[ErrorSettings-shop]
ErrorHandler[]=expExampleErrorHandler    # your class or value, added to the list
*/ ?>

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.

Something wrong on this page? Report an error

Documentation license

This documentation is free documentation, licensed under the GNU Free Documentation License 1.3 or later.

Exponential Copyright © 1998-2026 Exponential Foundation and 7x