Crates.io | error-code |
lib.rs | error-code |
version | 3.3.1 |
source | src |
created_at | 2020-01-11 22:13:56.731346 |
updated_at | 2024-09-10 00:08:02.432376 |
description | Error code |
homepage | |
repository | https://github.com/DoumanAsh/error-code |
max_upload_size | |
id | 197605 |
size | 27,460 |
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());