error_show

A tool that shows the description of the error code.

Installing

shellsession cargo install error_show

Usage

``` shellsession % errorshow -h errorshow 0.1.1 Show error code information

USAGE: error_show

FLAGS: -h, --help Prints help information -V, --version Prints version information

ARGS: Decimal or hexadecimal error code ```

Examples

On Linux:

shellsession % error_show 12 Error(12): Cannot allocate memory

On Windows:

``` shellsession

error_show 12006 Error(12006): URL 未使用可识别的协议

error_show 2 Error(2): 系统找不到指定的文件。

error_show.exe 0x80004002 Error(0x80004002): 不支持此接口

error_show.exe -2147467262 Error(-2147467262): 不支持此接口 ```