summaryrefslogtreecommitdiffhomepage
path: root/ipc/uapi_wasm.go
blob: fa84684aa5fca3ea2917c1bfff5e8a7a1408d82e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* SPDX-License-Identifier: MIT
 *
 * Copyright (C) 2017-2023 WireGuard LLC. All Rights Reserved.
 */

package ipc

// Made up sentinel error codes for {js,wasip1}/wasm.
const (
	IpcErrorIO        = 1
	IpcErrorInvalid   = 2
	IpcErrorPortInUse = 3
	IpcErrorUnknown   = 4
	IpcErrorProtocol  = 5
)