1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-23 15:49:44 -05:00
denoland-deno/ext/node/polyfills/internal_binding/_libuv_winerror.ts
2024-01-01 19:58:21 +00:00

7 lines
236 B
TypeScript

// Copyright 2018-2024 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);
}