1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-14 19:37:59 -05:00
denoland-deno/ext/node/polyfills/internal_binding/_libuv_winerror.ts
Divy Srivastava 0aeb8bc759
perf(ext/node): move winerror binding to rust (#17792)
16873 lines of JS removed from the snapshot.
2023-02-16 19:19:32 +05:30

7 lines
236 B
TypeScript

// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
const { ops } = globalThis.__bootstrap.core;
export function uvTranslateSysError(sysErrno: number): string {
return ops.op_node_sys_to_uv_error(sysErrno);
}