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

NameTypeAccessDescription
StatusintRead/WriteGets the status.
CodestringRead/WriteGets the code.
MessagestringRead/WriteGets the message.

Methods

SignatureDescription
Error()stringReturns the error.

See Also