public static ActionResult fail(String errorCode, String errorMessage, String errorDetail) {
        ActionResult result = new ActionResult();
        result.errorCode = errorCode;
        result.errorMessage = errorMessage;
        result.success = Boolean.FALSE;
        result.solutionLink("https://github.com/chat2db/Chat2DB/wiki/Chat2DB");
        result.errorDetail(errorDetail);
        return result;
    }
Return failure

@param errorCode    error code
@param errorMessage error message
@param errorDetail  error detail
@return operation result
chat2db-server/chat2db-server-tools/chat2db-server-tools-base/src/main/java/ai/chat2db/server/tools/base/wrapper/result/ActionResult.java