Brief
The basic_error_handler container is a inheritable one designed to handle errors well beyond just throwing an exception. You would generally use this container in environments that doesn't tolerate exceptions.
Rationale
Exceptions are pretty heavy in terms of runtime cost, so this container solves mostly that problem for freestanding or critical environments.
(Those cases don't tolerate exceptions like a regular user-space application would)
You would then avoid them like the plague and implement your own error system.
That's where the basic_error_handler comes to the play.
C++ Implementations
Error Handler Usage in the FIX Parser
Conclsuion
I hope this short blog post is useful to you. Looking forward to see you again!
Amlal.