---
title: "ErrorCode"
summary: "@slack/webhook / ErrorCode"
url: "https://docs.slack.dev/tools/node-slack-sdk/reference/webhook/enumerations/ErrorCode"
type: "guide"
---

Source: https://docs.slack.dev/tools/node-slack-sdk/reference/webhook/enumerations/ErrorCode

[@slack/webhook](https://docs.slack.dev/tools/node-slack-sdk/reference/webhook.md) / ErrorCode

# Enumeration: ErrorCode

Defined in: [packages/webhook/src/errors.ts:8](https://github.com/slackapi/node-slack-sdk/blob/main/packages/webhook/src/errors.ts#L8)

## Enumeration Members {#enumeration-members}

### HTTPError {#httperror}

```ts
HTTPError: "slack_webhook_http_error";
```

Defined in: [packages/webhook/src/errors.ts:10](https://github.com/slackapi/node-slack-sdk/blob/main/packages/webhook/src/errors.ts#L10)

* * *

### RequestError {#requesterror}

```ts
RequestError: "slack_webhook_request_error";
```

Defined in: [packages/webhook/src/errors.ts:9](https://github.com/slackapi/node-slack-sdk/blob/main/packages/webhook/src/errors.ts#L9)
