Skip to content

Commit cf97fda

Browse files
add unauthorized and forbidden error
1 parent a9a0356 commit cf97fda

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

async-vfs/src/error.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,12 @@ pub enum VfsError {
1212
#[error("Invalid file: {path}")]
1313
InvalidFile { path: String },
1414

15+
#[error("Unauthorized")]
16+
Unauthorized,
17+
18+
#[error("Forbidden")]
19+
Forbidden,
20+
1521
#[error("Not supported")]
1622
NotSupported,
1723

0 commit comments

Comments
 (0)