An open API service indexing awesome lists of open source software.

https://github.com/casl0/error_codes


https://github.com/casl0/error_codes

beautifulsoup python

Last synced: 3 months ago
JSON representation

Awesome Lists containing this project

README

        

# error_codes

[![run](https://github.com/CASL0/error_codes/actions/workflows/run.yml/badge.svg)](https://github.com/CASL0/error_codes/actions/workflows/run.yml)

エラーコードとその説明を JSON で出力します。

## 出力形式

```json
{
"errors": [
{
"code": 0,
"alias": "ERROR_SUCCESS",
"description": "The operation completed successfully."
},
{
"code": 1,
"alias": "ERROR_INVALID_FUNCTION",
"description": "Incorrect function."
},
...
]
}
```

## 対応エラーコード

- Windows システムエラーコード
- errno
- curl エラーコード

### Windows システムエラーコード

GetLastError の戻り値とその説明をまとめています。

### errno

Linux カーネルのエラーコードとその説明をまとめています。

### curl エラーコード

curl のエラーコードとその説明をまとめています。

## 開発

### 実行方法

[Dev Containers](https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-containers)をインストールし、以下の手順でビルドしてください。

1. VSCode で本プロジェクトを開き、[Dev Containers: Reopen in Container...]を実行してください。
1. `python app.py`を実行してください。