wasi-common: define an Error type for the crate

This commit is contained in:
Pat Hickey
2020-08-17 17:22:20 -07:00
parent 19369142cb
commit b8409dd9aa
2 changed files with 92 additions and 0 deletions

View File

@@ -23,6 +23,7 @@
mod ctx;
mod entry;
mod error;
mod fdpool;
pub mod fs;
mod handle;
@@ -36,6 +37,7 @@ pub mod virtfs;
pub mod wasi;
pub use ctx::{WasiCtx, WasiCtxBuilder, WasiCtxBuilderError};
pub use error::{Error, Result};
pub use handle::{Handle, HandleRights};
pub use sys::osdir::OsDir;
pub use sys::osfile::OsFile;