X-Git-Url: https://wimlib.net/git/?p=wimlib;a=blobdiff_plain;f=src%2Ferror.c;h=f427c82c996118a88156ccd248421db8bc08c6b8;hp=ac12cec440422bfab91cca9712d0bc508d2bab1c;hb=5ea71b35aff264dea029792b1fdb3404c6bd9d54;hpb=065b2b3513da8692efab0cd5344c054f246fa635 diff --git a/src/error.c b/src/error.c index ac12cec4..f427c82c 100644 --- a/src/error.c +++ b/src/error.c @@ -181,7 +181,7 @@ static const tchar * const error_strings[] = { [WIMLIB_ERR_ALREADY_LOCKED] = T("The WIM is already locked for writing"), [WIMLIB_ERR_DECOMPRESSION] - = T("Failed to decompress compressed data"), + = T("The WIM contains invalid compressed data"), [WIMLIB_ERR_FUSE] = T("An error was returned by fuse_main()"), [WIMLIB_ERR_GLOB_HAD_NO_MATCHES] @@ -240,7 +240,7 @@ static const tchar * const error_strings[] = { = T("Failed to create a hard or symbolic link when extracting " "a file from the WIM"), [WIMLIB_ERR_METADATA_NOT_FOUND] - = T("A required metadata resource could not be located"), + = T("The WIM does not contain image metadata; it only contains file data"), [WIMLIB_ERR_MKDIR] = T("Failed to create a directory"), [WIMLIB_ERR_MQUEUE] @@ -263,7 +263,7 @@ static const tchar * const error_strings[] = { = T("The WIM was not captured such that it can be " "applied from a pipe"), [WIMLIB_ERR_NTFS_3G] - = T("NTFS-3g encountered an error (check errno)"), + = T("NTFS-3G encountered an error (check errno)"), [WIMLIB_ERR_OPEN] = T("Failed to open a file"), [WIMLIB_ERR_OPENDIR] @@ -334,6 +334,18 @@ static const tchar * const error_strings[] = { = T("The capture configuration file could not be read"), [WIMLIB_ERR_WIM_IS_INCOMPLETE] = T("The WIM file is incomplete"), + [WIMLIB_ERR_COMPACTION_NOT_POSSIBLE] + = T("The WIM file cannot be compacted because of its format, " + "its layout, or the write parameters specified by the user"), + [WIMLIB_ERR_IMAGE_HAS_MULTIPLE_REFERENCES] + = T("The WIM image cannot be modified because it is currently " + "referenced from multiple places"), + [WIMLIB_ERR_DUPLICATE_EXPORTED_IMAGE] + = T("The destination WIM already contains one of the source images"), + [WIMLIB_ERR_CONCURRENT_MODIFICATION_DETECTED] + = T("A file being added to a WIM image was concurrently modified"), + [WIMLIB_ERR_SNAPSHOT_FAILURE] + = T("Unable to create a filesystem snapshot"), }; WIMLIBAPI const tchar *