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

package ipc

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