Skip to content

Commit e45ab0f

Browse files
committed
feat(filesystem):Add error-code other
Part of #892
1 parent aeb7957 commit e45ab0f

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

  • proposals/filesystem/wit-0.3.0-draft

proposals/filesystem/wit-0.3.0-draft/types.wit

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -265,6 +265,10 @@ interface types {
265265
text-file-busy,
266266
/// Cross-device link, similar to `EXDEV` in POSIX.
267267
cross-device,
268+
/// A catch-all for errors not captured by the existing variants.
269+
/// Implementations can use this to extend the error type without
270+
/// breaking existing code.
271+
other,
268272
}
269273

270274
/// File or memory access pattern advisory information.

0 commit comments

Comments
 (0)