ErrorMessage

Miscellaneous functions

Description

Returns a stable human-readable description for a numeric error code without changing the library error state

Unknown codes return a category-based fallback or a generic code description

Syntax

Delphi

Function TPDFlib.ErrorMessage(Code: Integer): WideString;

Parameters

CodeThe numeric error code to describe

Edition and workflow errors

900Enterprise required
901Small Business required
902Optional-content flattening failed or is unsupported
903Professional barcode encoder unavailable
904Professional barcode encoding failed
905Comparison report or audit evidence workflow failed
906Visual review or production conversion workflow failed
907Workflow cancelled by the caller

Return values

The message associated with Code