DocWire SDK
DocWire SDK: Award-winning modern data processing in C++20. SourceForge Community Choice & Microsoft support. AI-driven processing. Supports nearly 100 data formats, including email boxes and OCR. Boost efficiency in text extraction, web data extraction, data mining, document analysis. Offline processing possible for security and confidentiality
docwire::errors::file_encrypted Struct Reference

File is encrypted error tag. More...

#include <error_tags.h>

Static Public Member Functions

static constexpr std::string_view string ()
 

Detailed Description

File is encrypted error tag.

This tag is used to add the information that the SDK encountered a file that is encrypted and cannot be accessed or processed without decryption.

throw make_error(errors::file_encrypted{});

Existence of this tag can be checked using errors::contains_type<errors::file_encrypted> function.

catch (const errors::base& e) {
if (errors::contains_type<errors::file_encrypted>(e))
std::cerr << "File encrypted error" << std::endl;
}

Definition at line 133 of file error_tags.h.


The documentation for this struct was generated from the following file: