errorcodes
Errorcodes maps Nim error states and POSIX and HTTP error codes to a single common enum. It can be used as an alternative to exceptions.
Summary
| Latest Version | Unknown |
|---|---|
| License | MIT |
| CI Status | Failing |
| Downloads | 0 |
| Last Indexed | 2026-07-25 13:07 |
Tags
Installation
nimble install errorcodes
choosenim install errorcodes
git clone https://github.com/nim-lang/errorcodes.git
OS Compatibility
| Platform | Linux | macOS | Windows | FreeBSD | OpenBSD | NetBSD | Android | iOS | WASM | Embedded |
|---|---|---|---|---|---|---|---|---|---|---|
| errorcodes | ✓ | ✓ | ✓ | - | - | - | - | - | - | - |
Source
| Repository | https://github.com/nim-lang/errorcodes.git |
|---|---|
| Homepage | https://github.com/nim-lang/errorcodes |
| Registry Source | nimble_official |
README
Errorcodes is a simple module that maps Nim error states, Windows API, POSIX and HTTP error codes to a single common enum. It is generated from errorcodes.md.