easy-err 0.2.1

An easy Error wrapper.
Documentation
# Easy-err


用于统一错误类型的包装器

### 例子 Example

运行下面的代码:
```
use easy_err::Error;

// 自定义一个错误 (custom an error.)
let custom_err = Error::custom("Here is a custom error.");

// 将错误写入日志文件 (write the error into a file.)
custom_err.log_to("./log.txt");
```
日志文件中的内容:
```
error:
	time: <ErrorTime>
	 msg: 'Here is a custom error.'
```