public void select(RoutingContext ctx) {
        ctx.setError(DocumentProtocol.ERROR_POLICY_FAILURE, msg);
    }
Creates a new policy that will assign an {@link EmptyReply} with the given error to all routing contexts that
invoke {@link #select(RoutingContext)}.

@param msg The message of the error to assign.
documentapi/src/main/java/com/yahoo/documentapi/messagebus/protocol/ErrorPolicy.java