adapt to changed boost::error_category throw specifier