github.com/GFW-knocker/wireguard@v1.0.1/ipc/uapi_wasm.go (about) 1 /* SPDX-License-Identifier: MIT 2 * 3 * Copyright (C) 2017-2023 WireGuard LLC. All Rights Reserved. 4 */ 5 6 package ipc 7 8 // Made up sentinel error codes for {js,wasip1}/wasm. 9 const ( 10 IpcErrorIO = 1 11 IpcErrorInvalid = 2 12 IpcErrorPortInUse = 3 13 IpcErrorUnknown = 4 14 IpcErrorProtocol = 5 15 )