Crates.io | error-code |
lib.rs | error-code |
version | 3.2.0 |
source | src |
created_at | 2020-01-11 22:13:56.731346 |
updated_at | 2024-02-27 15:28:25.130791 |
description | Error code |
homepage | |
repository | https://github.com/DoumanAsh/error-code |
max_upload_size | |
id | 197605 |
size | 27,104 |
Error code library provides generic errno/winapi error wrapper
User can define own Category
if you want to create new error wrapper.
use error_code::ErrorCode;
use std::fs::File;
File::open("non_existing");
println!("{}", ErrorCode::last_system());