Permit DB clients to define own error handler