APIError
Overview
APIError is a type in Aspose.PDF FOSS for Go.
APIError is returned when the AI endpoint answers with a non-2xx status.
This type provides 1 method for working with APIError objects in Go programs.
Available methods include: Error.
All public members are accessible to any Go application after installing the Aspose.PDF FOSS for Go package.
Properties: Code, Message, Status.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
Status | int | Read/Write | Gets the status. |
Code | string | Read/Write | Gets the code. |
Message | string | Read/Write | Gets the message. |
Methods
| Signature | Description |
|---|---|
Error() → string | Returns the error. |