| Components | All | New | MacOS | Windows | Linux | iOS | ||||
| Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old | |
DynaPDF.ErrLogMessages
Returns an errors of the internal error log.
| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
| DynaPDF | 16.4 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
MBS( "DynaPDF.ErrLogMessages"; PDF ) More
Parameters
| Parameter | Description | Example |
|---|---|---|
| The PDF reference returned from DynaPDF.New. |
Result
Returns JSON or error.
Description
Returns an errors of the internal error log.DynaPDF uses the error log to store non-fatal errors or warnings when it is not required to break processing or if more detailed error information should be provided than is possible with the normal exception handling.
For example, when opening a damaged PDF file with DynaPDF.OpenImportFile the function tries first to open the file in normal mode. All errors which occur in this step are written to the error log.
Depending on the kind of found errors, the function maybe falls back into repair mode and reads the file again. If this action is successful then the function returns with success and no error message is provided over the normal exception handling. So, you'll not notice that the file contained damages unless you take a look into the error log.
The error log was introduced with DynaPDF 3.0. It is used when reading a PDF file, e.g. DynaPDF.OpenImportFile, DynaPDF.ImportPage, DynaPDF.ImportPDFFile, and when parsing or rendering PDF pages, e.g. DynaPDF.ParseContent, DynaPDF.IsEmptyPage, DynaPDF.IsColorPage, DynaPDF.GetPageText, DynaPDF.RasterPage, DynaPDF.RasterPDFFile, and so on.
Examples
Shows the JSON with errors:
Set Variable [ $errors ; Value: MBS("DynaPDF.ErrLogMessages"; $pdf) ]
If [ Length ( $errors ) > 10 ]
Show Custom Dialog [ "Error Log" ; $errors ]
End If
If [ Length ( $errors ) > 10 ]
Show Custom Dialog [ "Error Log" ; $errors ]
End If
See also
- DynaPDF.ErrLogMessage
- DynaPDF.ErrLogMessageCount
- DynaPDF.ImportPDFFile
- DynaPDF.IsColorPage
- DynaPDF.IsEmptyPage
- DynaPDF.New
- DynaPDF.ParseContent
Example Databases
Blog Entries
This function is free to use.
Created 8th August 2026, last changed 8th August 2026
MarkDown version: DynaPDFErrLogMessages.md