This handles request parsing errors generated for example by schema
    field validation failing.

def handle_request_parsing_error(
        err,
        _req,
        _schema,
        _err_status_code,
        _err_headers,
):
    """ This handles request parsing errors generated for example by schema
    field validation failing."""
    abort(HTTPStatus.BAD_REQUEST, errors=err.messages)