public RoutingContext setError(int code, String msg) {
        node.setError(code, msg);
        return this;
    }
<p>This is a convenience method to call {@link #setError(Error)}.</p>

@param code The code of the error to set.
@param msg  The message of the error to set.
@return This, to allow chaining.
messagebus/src/main/java/com/yahoo/messagebus/routing/RoutingContext.java