# Class SwPDFError

## **About class**

Describes an error caused by PDF creating process.

**Syntax**

`Set swPDFError = swPDFCreator.GetError()`

**Usage**

This class is used to get detailed info about an error being raised.

## **Properties**

**Message**

String. Read only. Error description.

**Code**

Integer. Read only. Error number.

**Caller**

String. Read only. Name of the module in which an error occurred.

**Position**

Integer. Read only. Line in which error occurred.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.swingsoftware.com/pdf-converter-for-notes/for-developers/lotusscript-api-reference/class-swpdferror.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
