---
title: "APIError"
description: "APIError"
url: "https://www.contentstack.com/docs/developers/sdks/content-delivery-sdk/swift/reference/apierror"
product: "Contentstack"
doc_type: "guide"
audience:
  - developers
  - admins
version: "current"
last_updated: "2026-09-20"
---

# APIError

## APIError

Information regarding an error received from Contentstack’s API.

Error description.

Human readable error Message

Error Code from API.

More detailed error Information.

The HTTP status code.

## APIError | Swift Delivery SDK | Contentstack

The APIError class in the Swift Delivery SDK carries information about errors received from Contentstack's API, helping you diagnose failed requests.