1
// mkerrors_windows.sh -f -m32
2
// MACHINE GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
6
// Go names for Windows errors.
8
ENOENT = ERROR_FILE_NOT_FOUND
9
ENOTDIR = ERROR_DIRECTORY
12
// Windows reserves errors >= 1<<29 for application use.
13
const APPLICATION_ERROR = 1 << 29
15
// Invented values to support what package os and others expects.
17
E2BIG = APPLICATION_ERROR + iota
150
// Error strings for invented errors
151
var errors = [...]string{
152
E2BIG - APPLICATION_ERROR: "argument list too long",
153
EACCES - APPLICATION_ERROR: "permission denied",
154
EADDRINUSE - APPLICATION_ERROR: "address already in use",
155
EADDRNOTAVAIL - APPLICATION_ERROR: "cannot assign requested address",
156
EADV - APPLICATION_ERROR: "advertise error",
157
EAFNOSUPPORT - APPLICATION_ERROR: "address family not supported by protocol",
158
EAGAIN - APPLICATION_ERROR: "resource temporarily unavailable",
159
EALREADY - APPLICATION_ERROR: "operation already in progress",
160
EBADE - APPLICATION_ERROR: "invalid exchange",
161
EBADF - APPLICATION_ERROR: "bad file descriptor",
162
EBADFD - APPLICATION_ERROR: "file descriptor in bad state",
163
EBADMSG - APPLICATION_ERROR: "bad message",
164
EBADR - APPLICATION_ERROR: "invalid request descriptor",
165
EBADRQC - APPLICATION_ERROR: "invalid request code",
166
EBADSLT - APPLICATION_ERROR: "invalid slot",
167
EBFONT - APPLICATION_ERROR: "bad font file format",
168
EBUSY - APPLICATION_ERROR: "device or resource busy",
169
ECANCELED - APPLICATION_ERROR: "operation canceled",
170
ECHILD - APPLICATION_ERROR: "no child processes",
171
ECHRNG - APPLICATION_ERROR: "channel number out of range",
172
ECOMM - APPLICATION_ERROR: "communication error on send",
173
ECONNABORTED - APPLICATION_ERROR: "software caused connection abort",
174
ECONNREFUSED - APPLICATION_ERROR: "connection refused",
175
ECONNRESET - APPLICATION_ERROR: "connection reset by peer",
176
EDEADLK - APPLICATION_ERROR: "resource deadlock avoided",
177
EDEADLOCK - APPLICATION_ERROR: "resource deadlock avoided",
178
EDESTADDRREQ - APPLICATION_ERROR: "destination address required",
179
EDOM - APPLICATION_ERROR: "numerical argument out of domain",
180
EDOTDOT - APPLICATION_ERROR: "RFS specific error",
181
EDQUOT - APPLICATION_ERROR: "disk quota exceeded",
182
EEXIST - APPLICATION_ERROR: "file exists",
183
EFAULT - APPLICATION_ERROR: "bad address",
184
EFBIG - APPLICATION_ERROR: "file too large",
185
EHOSTDOWN - APPLICATION_ERROR: "host is down",
186
EHOSTUNREACH - APPLICATION_ERROR: "no route to host",
187
EIDRM - APPLICATION_ERROR: "identifier removed",
188
EILSEQ - APPLICATION_ERROR: "invalid or incomplete multibyte or wide character",
189
EINPROGRESS - APPLICATION_ERROR: "operation now in progress",
190
EINTR - APPLICATION_ERROR: "interrupted system call",
191
EINVAL - APPLICATION_ERROR: "invalid argument",
192
EIO - APPLICATION_ERROR: "input/output error",
193
EISCONN - APPLICATION_ERROR: "transport endpoint is already connected",
194
EISDIR - APPLICATION_ERROR: "is a directory",
195
EISNAM - APPLICATION_ERROR: "is a named type file",
196
EKEYEXPIRED - APPLICATION_ERROR: "key has expired",
197
EKEYREJECTED - APPLICATION_ERROR: "key was rejected by service",
198
EKEYREVOKED - APPLICATION_ERROR: "key has been revoked",
199
EL2HLT - APPLICATION_ERROR: "level 2 halted",
200
EL2NSYNC - APPLICATION_ERROR: "level 2 not synchronized",
201
EL3HLT - APPLICATION_ERROR: "level 3 halted",
202
EL3RST - APPLICATION_ERROR: "level 3 reset",
203
ELIBACC - APPLICATION_ERROR: "can not access a needed shared library",
204
ELIBBAD - APPLICATION_ERROR: "accessing a corrupted shared library",
205
ELIBEXEC - APPLICATION_ERROR: "cannot exec a shared library directly",
206
ELIBMAX - APPLICATION_ERROR: "attempting to link in too many shared libraries",
207
ELIBSCN - APPLICATION_ERROR: ".lib section in a.out corrupted",
208
ELNRNG - APPLICATION_ERROR: "link number out of range",
209
ELOOP - APPLICATION_ERROR: "too many levels of symbolic links",
210
EMEDIUMTYPE - APPLICATION_ERROR: "wrong medium type",
211
EMFILE - APPLICATION_ERROR: "too many open files",
212
EMLINK - APPLICATION_ERROR: "too many links",
213
EMSGSIZE - APPLICATION_ERROR: "message too long",
214
EMULTIHOP - APPLICATION_ERROR: "multihop attempted",
215
ENAMETOOLONG - APPLICATION_ERROR: "file name too long",
216
ENAVAIL - APPLICATION_ERROR: "no XENIX semaphores available",
217
ENETDOWN - APPLICATION_ERROR: "network is down",
218
ENETRESET - APPLICATION_ERROR: "network dropped connection on reset",
219
ENETUNREACH - APPLICATION_ERROR: "network is unreachable",
220
ENFILE - APPLICATION_ERROR: "too many open files in system",
221
ENOANO - APPLICATION_ERROR: "no anode",
222
ENOBUFS - APPLICATION_ERROR: "no buffer space available",
223
ENOCSI - APPLICATION_ERROR: "no CSI structure available",
224
ENODATA - APPLICATION_ERROR: "no data available",
225
ENODEV - APPLICATION_ERROR: "no such device",
226
ENOEXEC - APPLICATION_ERROR: "exec format error",
227
ENOKEY - APPLICATION_ERROR: "required key not available",
228
ENOLCK - APPLICATION_ERROR: "no locks available",
229
ENOLINK - APPLICATION_ERROR: "link has been severed",
230
ENOMEDIUM - APPLICATION_ERROR: "no medium found",
231
ENOMEM - APPLICATION_ERROR: "cannot allocate memory",
232
ENOMSG - APPLICATION_ERROR: "no message of desired type",
233
ENONET - APPLICATION_ERROR: "machine is not on the network",
234
ENOPKG - APPLICATION_ERROR: "package not installed",
235
ENOPROTOOPT - APPLICATION_ERROR: "protocol not available",
236
ENOSPC - APPLICATION_ERROR: "no space left on device",
237
ENOSR - APPLICATION_ERROR: "out of streams resources",
238
ENOSTR - APPLICATION_ERROR: "device not a stream",
239
ENOSYS - APPLICATION_ERROR: "function not implemented",
240
ENOTBLK - APPLICATION_ERROR: "block device required",
241
ENOTCONN - APPLICATION_ERROR: "transport endpoint is not connected",
242
ENOTEMPTY - APPLICATION_ERROR: "directory not empty",
243
ENOTNAM - APPLICATION_ERROR: "not a XENIX named type file",
244
ENOTRECOVERABLE - APPLICATION_ERROR: "state not recoverable",
245
ENOTSOCK - APPLICATION_ERROR: "socket operation on non-socket",
246
ENOTSUP - APPLICATION_ERROR: "operation not supported",
247
ENOTTY - APPLICATION_ERROR: "inappropriate ioctl for device",
248
ENOTUNIQ - APPLICATION_ERROR: "name not unique on network",
249
ENXIO - APPLICATION_ERROR: "no such device or address",
250
EOPNOTSUPP - APPLICATION_ERROR: "operation not supported",
251
EOVERFLOW - APPLICATION_ERROR: "value too large for defined data type",
252
EOWNERDEAD - APPLICATION_ERROR: "owner died",
253
EPERM - APPLICATION_ERROR: "operation not permitted",
254
EPFNOSUPPORT - APPLICATION_ERROR: "protocol family not supported",
255
EPIPE - APPLICATION_ERROR: "broken pipe",
256
EPROTO - APPLICATION_ERROR: "protocol error",
257
EPROTONOSUPPORT - APPLICATION_ERROR: "protocol not supported",
258
EPROTOTYPE - APPLICATION_ERROR: "protocol wrong type for socket",
259
ERANGE - APPLICATION_ERROR: "numerical result out of range",
260
EREMCHG - APPLICATION_ERROR: "remote address changed",
261
EREMOTE - APPLICATION_ERROR: "object is remote",
262
EREMOTEIO - APPLICATION_ERROR: "remote I/O error",
263
ERESTART - APPLICATION_ERROR: "interrupted system call should be restarted",
264
EROFS - APPLICATION_ERROR: "read-only file system",
265
ESHUTDOWN - APPLICATION_ERROR: "cannot send after transport endpoint shutdown",
266
ESOCKTNOSUPPORT - APPLICATION_ERROR: "socket type not supported",
267
ESPIPE - APPLICATION_ERROR: "illegal seek",
268
ESRCH - APPLICATION_ERROR: "no such process",
269
ESRMNT - APPLICATION_ERROR: "srmount error",
270
ESTALE - APPLICATION_ERROR: "stale NFS file handle",
271
ESTRPIPE - APPLICATION_ERROR: "streams pipe error",
272
ETIME - APPLICATION_ERROR: "timer expired",
273
ETIMEDOUT - APPLICATION_ERROR: "connection timed out",
274
ETOOMANYREFS - APPLICATION_ERROR: "too many references: cannot splice",
275
ETXTBSY - APPLICATION_ERROR: "text file busy",
276
EUCLEAN - APPLICATION_ERROR: "structure needs cleaning",
277
EUNATCH - APPLICATION_ERROR: "protocol driver not attached",
278
EUSERS - APPLICATION_ERROR: "too many users",
279
EWOULDBLOCK - APPLICATION_ERROR: "resource temporarily unavailable",
280
EXDEV - APPLICATION_ERROR: "invalid cross-device link",
281
EXFULL - APPLICATION_ERROR: "exchange full",
282
EWINDOWS - APPLICATION_ERROR: "not supported by windows",