MCPcopy Create free account
hub / github.com/bytecodealliance/WASI-Virt / http_error_code

Method http_error_code

virtual-adapter/src/io.rs:1298–1304  ·  view source on GitHub ↗
(err: ErrorBorrow)

Source from the content-addressed store, hash-verified

1296 debug!("CALL wasi:filesystem/types#read-directory-entry SID={self:?}");
1297 match self {
1298 Self::Static { entry, idx } => entry.next(idx),
1299 Self::Host(sid) => sid
1300 .read_directory_entry()
1301 .map(|e| e.map(dir_map))
1302 .map_err(err_map),
1303 }
1304 }
1305}
1306
1307impl GuestHttpTypes for VirtAdapter {

Callers

nothing calls this directly

Calls 1

getMethod · 0.45

Tested by

no test coverage detected