Restore temporary, SPI-only support for error handlers

Description

We'll add better support and APIs in HSEARCH-3110. In the meantime, this should help people who really need this feature.

Environment

None
Fixed

Assignee

Yoann Rodière

Reporter

Yoann Rodière

Labels

None

Suitable for new contributors

None

Feedback Requested

None

Components

Fix versions

Priority

Major
Configure