HomeDevCentral

Import _ERROR constants into global debug space

Description

Import _ERROR constants into global debug space

Summary:
Keruald sites use GENERAL_ERROR, HACK_ERROR, and SQL_ERROR
to categorize fatal error messages.

One of our current goals is to help sites to eliminate the includes/ directory,
allowing them to refer to Keruald libraries for generic code or to their own
engine classes for domain-specific code.

As such, importing the constants enables the use of the legacy message_die
function, either directly in the global space or migrated to an error handler
class.

Ref T2145

Test Plan: Tested with Obsidian Workspaces code.

Reviewers: dereckson

Reviewed By: dereckson

Maniphest Tasks: T2145

Differential Revision: https://devcentral.nasqueron.org/D3787

Details

Provenance
derecksonAuthored on Tue, Oct 21, 19:13
derecksonPushed on Tue, Oct 21, 19:30
Reviewer
dereckson
Differential Revision
D3787: Import _ERROR constants into global debug space
Parents
rKERUALDa51ef2e9abd3: Improve detection of modified packages
Branches
Unknown
Tags
Unknown
References
tag: omnitools/0.15.1
Tasks
T2145: Consolidate Obsidian classes with Keruald resources