Fu
Just an Error with its location and helpful macros.
- Custom
Errortype with file name, line, and column information. - Short and convenient macros:
error!,bail!, andensure!. - Lightweight.
Usage
use ;
const MAX: i32 = 10;
// Error: value must be non-negative examples/foo.rs:[4:5]