Home Explore Blog CI



docker

1st chunk of `content/reference/api/extensions-sdk/ServiceError.md`
716b0e30a5a7815cf72cb72a476faabbba9091f32b817c8b000000010000022b
---
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`

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.