1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-22 15:06:54 -05:00
denoland-deno/ext/node/polyfills/internal_binding/_libuv_winerror.ts
2024-01-10 15:37:25 -07:00

10 lines
288 B
TypeScript

// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
import { core } from "ext:core/mod.js";
const {
op_node_sys_to_uv_error,
} = core.ensureFastOps();
export function uvTranslateSysError(sysErrno: number): string {
return op_node_sys_to_uv_error(sysErrno);
}