0
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-10-30 09:08:00 -04:00
denoland-deno/ext/node/polyfills/internal_binding/_libuv_winerror.ts

8 lines
236 B
TypeScript
Raw Normal View History

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