1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-24 15:19:26 -05:00
denoland-deno/ext/node/polyfills/internal_binding/_libuv_winerror.ts

7 lines
243 B
TypeScript

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