ReaderErrorCodes
OfficeIMO.Reader
Stable codes for inputs that could not be read. Batch outcomes and folder documents report one of these values so callers can branch on the cause without matching exception types or messages.
Inheritance
- object
- ReaderErrorCodes
Remarks
Codes are lower-case, hyphenated and never renamed. New codes may be added; treat an unrecognized code like ReaderErrorCodes.ReadFailed.
Inherited Methods
Fields
public const string PasswordRequired #The input is encrypted and no password was supplied, or the empty password was not accepted.
password-requiredpublic const string InvalidPassword #The input is encrypted and the supplied password did not open it.
invalid-passwordpublic const string UnsupportedEncryption #The input uses an encryption method, or a certificate-based protection, that the reader cannot open.
unsupported-encryptionpublic const string PermissionDenied #The input opened, but its own permissions do not allow content extraction.
permission-deniedpublic const string UnsupportedFormat #No configured handler reads the input, or the input uses a format feature the handler does not support.
unsupported-formatpublic const string InvalidContent #The input is damaged, truncated or not valid for its detected format.
invalid-contentpublic const string Timeout #A configured time limit, such as ReaderOptions.LayoutTimeout, was exceeded.
timeoutpublic const string ReadFailed #The read failed for a reason without a more specific code.
read-failed