sketchy path_open
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
use crate::dir::DirCaps;
|
||||
use crate::file::FileCaps;
|
||||
use thiserror::Error;
|
||||
|
||||
@@ -19,6 +20,14 @@ pub enum Error {
|
||||
#[error("File not capable: {0}")]
|
||||
FileNotCapable(FileCaps),
|
||||
|
||||
/// Errno::Notcapable: Extension: Capabilities insufficient
|
||||
#[error("Directory not capable: {0}")]
|
||||
DirNotCapable(DirCaps),
|
||||
|
||||
/// Idk what the deal with this guy is yet
|
||||
#[error("Table overflow")]
|
||||
TableOverflow,
|
||||
|
||||
/// The host OS may return an io error that doesn't match one of the
|
||||
/// wasi errno variants we expect. We do not expose the details of this
|
||||
/// error to the user.
|
||||
|
||||
Reference in New Issue
Block a user