public static FailureHandler getDefaultExceptionHandler(boolean ignoreErrors) {
        if (ignoreErrors) {
            return new IgnoreFailureHandler();
        } else {
            return new NoOpFailureHandler();
        }
    }
Creates the type information with given field names and data schema.

@param timeFieldName The name of the time field.
@param attributesFieldName The name of the attributes field.
@param rowFormatInfo The schema of data fields.
@return The type information
inlong-sort/sort-formats/format-row/format-inlongmsg-base/src/main/java/org/apache/inlong/sort/formats/inlongmsg/row/InLongMsgUtils.java