Skip to content

Commit

Permalink
refactor errors, minor error corrections, rename open_or_create to cr…
Browse files Browse the repository at this point in the history
…eate, generator fs stress test, better Fd handling
  • Loading branch information
wasm-forge committed Jan 7, 2025
1 parent a3fe6e6 commit d613c1b
Show file tree
Hide file tree
Showing 9 changed files with 796 additions and 171 deletions.
8 changes: 8 additions & 0 deletions src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -304,3 +304,11 @@ pub enum Error {
// WASI: ERRNO_NOTCAPABLE
ExtensionCapabilitiesInsufficient = 76,
}

impl std::fmt::Display for Error {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
write!(f, "{}", self)
}
}

impl std::error::Error for Error {}
Loading

0 comments on commit d613c1b

Please sign in to comment.