]> wimlib.net Git - wimlib/blobdiff - src/error.c
Standardize wording: "since wimlib vX.X.X"
[wimlib] / src / error.c
index 6e04a06ae1cd94f125307502844c9cdce437fa1e..a6b2d3892dc55edaf26915d30cf48b5b46efc285 100644 (file)
@@ -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]
@@ -236,14 +236,11 @@ static const tchar * const error_strings[] = {
                = T("One of the specified paths to delete was a directory"),
        [WIMLIB_ERR_IS_SPLIT_WIM]
                = T("The WIM is part of a split WIM, which is not supported for this operation"),
-       [WIMLIB_ERR_LIBXML_UTF16_HANDLER_NOT_AVAILABLE]
-               = T("libxml2 was unable to find a character encoding conversion handler "
-                 "for UTF-16LE"),
        [WIMLIB_ERR_LINK]
                = 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]
@@ -335,6 +332,20 @@ static const tchar * const error_strings[] = {
                = T("The volume must be unlocked before it can be used"),
        [WIMLIB_ERR_UNABLE_TO_READ_CAPTURE_CONFIG]
                = 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 *