FOSSredder 0.5.0
Loading...
Searching...
No Matches
ExportConstants.h
Go to the documentation of this file.
1
5
6#pragma once
7
8#include <string_view>
9
11
12inline constexpr std::string_view kErrorUnsupportedFormat = "EXPORT_UNSUPPORTED_FORMAT";
13inline constexpr std::string_view kMessageUnsupportedFormat = "Unsupported export format";
14
15namespace errors {
16inline constexpr std::string_view kOutputPathEmpty = "EXPORT_OUTPUT_PATH_EMPTY";
17inline constexpr std::string_view kFileOpenFailed = "EXPORT_FILE_OPEN_FAILED";
18inline constexpr std::string_view kFileWriteFailed = "EXPORT_FILE_WRITE_FAILED";
19inline constexpr std::string_view kArchiveFailed = "EXPORT_ARCHIVE_FAILED";
20inline constexpr std::string_view kXlsxGenerationFailed = "EXPORT_XLSX_GENERATION_FAILED";
21inline constexpr std::string_view kInternalError = "EXPORT_INTERNAL_ERROR";
22} // namespace errors
23
24namespace messages {
25inline constexpr std::string_view kOutputPathEmpty = "Output path is empty";
26inline constexpr std::string_view kFileOpenFailed = "Failed to open export output file";
27inline constexpr std::string_view kFileWriteFailed = "Failed while writing export output file";
28inline constexpr std::string_view kArchiveFailed = "Failed to package export output";
29inline constexpr std::string_view kXlsxGenerationFailed = "XLSX generation failed";
30inline constexpr std::string_view kInternalError = "Unexpected error during export";
31} // namespace messages
32
33namespace packaging {
34inline constexpr std::string_view kZipExtension = ".zip";
35} // namespace packaging
36
37namespace labels {
38inline constexpr std::string_view kPropertyHeader = "Gebäude";
39inline constexpr std::string_view kTotal = "Summe";
40inline constexpr std::string_view kUnassigned = "(Unassigned)";
41} // namespace labels
42
43} // namespace core::application::exporting::constants
constexpr std::string_view kMessageUnsupportedFormat
constexpr std::string_view kErrorUnsupportedFormat