Definition at line 144 of file KisImportExportErrorCode.cpp.
145{
146 QString internal = i18n("Unexpected error.");
153
155 return i18n("The file doesn't exist.");
157 return i18n("Permission denied: Krita is not allowed to read the file.");
159 return i18n("The file format cannot be parsed.");
161 return i18n("The file format contains unsupported features.");
163 return i18n("The file format contains unsupported color space.");
165 return i18n("Error occurred while reading from the file.");
166
167
169 return i18n("The file cannot be created.");
171 return i18n("Permission denied: Krita is not allowed to write to the file.");
173 return i18n("There is not enough disk space left to save the file.");
175 return i18n("Error occurred while writing to the file.");
177 return i18n("Krita does not support this file format.");
178
179
181 return i18n("The action was cancelled by the user.");
182
183
187 return internal;
189 return i18n("Image is busy.");
190
192 return i18n("The action has been completed successfully.");
193 default:
194 return internal;
195
196 }
197 }
198 return internal;
199}
@ FormatFeaturesUnsupported
@ FormatColorSpaceUnsupported
QString errorMessage() const override
QString errorMessage() const override
References ImportExportCodes::Busy, ImportExportCodes::Cancelled, ImportExportCodes::CannotCreateFile, CannotRead, cannotRead, CannotWrite, cannotWrite, CodeId, codeId, errorFieldUsed, KisImportExportErrorCannotWrite::errorMessage(), KisImportExportErrorCannotRead::errorMessage(), ImportExportCodes::ErrorWhileReading, ImportExportCodes::ErrorWhileWriting, ImportExportCodes::Failure, failureMessage, ImportExportCodes::FileFormatIncorrect, ImportExportCodes::FileFormatNotSupported, ImportExportCodes::FileNotExist, ImportExportCodes::FormatColorSpaceUnsupported, ImportExportCodes::FormatFeaturesUnsupported, ImportExportCodes::InsufficientMemory, ImportExportCodes::InternalError, ImportExportCodes::NoAccessToRead, ImportExportCodes::NoAccessToWrite, and ImportExportCodes::OK.