@Override
    public String toString() {
        return "DolphinScheduleException{" +
                "errorCode='" + errorCode + '\'' +
                ", detailedMessage='" + detailedMessage + '\'' +
                ", cause=" + getCause() +
                '}';
    }
Constructor with error code and message.

@param errorCode       A specific error code for the exception.
@param detailedMessage A detailed error message providing additional context.
inlong-manager/manager-schedule/src/main/java/org/apache/inlong/manager/schedule/exception/DolphinScheduleException.java