Home Explore Blog CI



docker

content/reference/api/extensions-sdk/ServiceError.md
5f22edac1ae3a3e9fab05040ba74fd76fa4dbc77b71799b9000000030000022b
---
title: "Interface: ServiceError"
description: Docker extension API reference
keywords: Docker, extensions, sdk, API, reference
aliases:
 - /desktop/extensions-sdk/dev/api/reference/interfaces/ServiceError/
 - /extensions/extensions-sdk/dev/api/reference/interfaces/ServiceError/
---

Error thrown when an HTTP response is received with a status code that falls
out to the range of 2xx.

**`Since`**

0.2.0

## Properties

### name

• **name**: `string`

___

### message

• **message**: `string`

___

### statusCode

• **statusCode**: `number`

Chunks
716b0e30 (1st chunk of `content/reference/api/extensions-sdk/ServiceError.md`)
Title: Interface: ServiceError - Details of an HTTP Service Error
Summary
This section describes the `ServiceError` interface, which represents an error thrown when an HTTP response is received with a status code outside the 2xx range. It includes properties for the error name, message, and HTTP status code.