public Error(ImportErrorType error, ImportErrorCode code, object context, Level level, string filePath, IXmlLineInfo xmlLineInfo) { this.xmlLineInfo = xmlLineInfo; this.error = error; this.code = code; this.context = context; this.level = level; this.filePath = filePath; }
void LogError(VisualTreeAsset asset, ImportErrorType errorType, ImportErrorCode code, object context, IXmlLineInfo xmlLineInfo) { // If we ever want to use the AssetDatabase error reporting APIs, use m_Context.LogImportError() here logger.LogError(errorType, code, context, Error.Level.Fatal, xmlLineInfo); if (asset != null) { asset.importedWithErrors = true; } }
internal virtual void LogError(ImportErrorType error, ImportErrorCode code, object context, Error.Level level, IXmlLineInfo xmlLineInfo) { m_Errors.Add(new Error(error, code, context, level, m_Path, xmlLineInfo)); }
public ImportError(string photoFilePath, ImportErrorType errorType, Exception exception) : this(photoFilePath, errorType) { Exception = exception; }
public ImportError(string photoFilePath, ImportErrorType errorType) { PhotoFilePath = photoFilePath; ErrorType = errorType; }
internal virtual void LogError(ImportErrorType error, ImportErrorCode code, object context, UIElementsViewImporter.Error.Level level, IXmlLineInfo xmlLineInfo) { this.m_Errors.Add(new UIElementsViewImporter.Error(error, code, context, level, this.m_Path, xmlLineInfo)); }