![]() |
boost::taar::error — Error codes reported by Boost.Taar.
// In header: <boost/taar/core/error.hpp> enum error { success = 0, no_absolute_template, invalid_template, argument_not_found, argument_ambiguous, invalid_argument_format, invalid_request_format, invalid_url_format, invalid_content_type, invalid_cookie_format, invalid_boolean_format, invalid_number_format, late_chunk_metadata, constraint_violated, unknown_exception };
All values share the error_category category, and they can be used transparently with boost::system::error_code thanks to the is_error_code_enum specialisation at the bottom of this header.
Many of these are reported as soft errors by session::http through its soft-error handler, which by default turns them into 400/404/415 HTTP responses.
successno_absolute_templateinvalid_templateargument_not_foundargument_ambiguousinvalid_argument_formatinvalid_request_formatinvalid_url_formatinvalid_content_typeContent-Type does not match the handler. invalid_cookie_formatCookie header could not be parsed. invalid_boolean_formatinvalid_number_formatlate_chunk_metadataconstraint_violatedunknown_exception