public static Object error(final ServerWebExchange exchange, final int code, final String message, final Object object) {
        return shenyuResult().error(exchange, code, message, object);
    }
Error object.

@param exchange the exchange
@param code    the code
@param message the message
@param object  the object
@return the object
shenyu-plugin/shenyu-plugin-api/src/main/java/org/apache/shenyu/plugin/api/result/ShenyuResultWrap.java