yorel::yomm2::policy::error_handler
defined in <yorel/yomm2/core.hpp>, also provided by <yorel/yomm2/keywords.hpp>
struct error_handler;
The error_handler is used by YOMM2 to handle error conditions. If it is
present, its static member error is called with a variant describing the
error. If the function returns normally, the program is terminated by a call to
abort.
| unspecified error | called when an error is detected | 
(all members are static)
Handle the error condition. error can be a function or a function or a
functor, taking a single const error_type& argument, and returning void. It
can throw an exception, derived from class error, to prevent program
termination.
error_handler| throw_error | throw the error as an exception | 
| vectored_error | implement error as std::function; default value prints diagnostics |