mxlib
c++ tools for analyzing astronomical data and other tasks by Jared R. Males. [git repo]
Loading...
Searching...
No Matches
error_t.hpp
Go to the documentation of this file.
1/** \file error_t.hpp
2 * \brief The mxlib error_t type and utilities
3 * \ingroup error_handling_files
4 */
5
6/* ********** THIS FILE IS GENERATED ********** */
7/* ********** DO NOT MODIFY OR COMMIT ********** */
8
9#ifndef mx_errno_t_hpp
10#define mx_errno_t_hpp
11
12namespace mx
13{
14
15
16/// The mxlib error codes
17/** \ingroup error_handling_codes
18 */
19enum class error_t
20{
21 noerror, ///< No error has occurred
22 error, ///< A general error has occurred
23 invalidarg, ///< An argument was invalid
24 invalidconfig, ///< A config setting was invalid
25 notimpl, ///< A component or technique is not implemented
26 paramnotset, ///< A parameter was not set
27 envnotset, ///< A environment variable was not set
28 notfound, ///< An item was not found
29 sizeerr, ///< A size was invalid or calculated incorrectly
30 allocerr, ///< An error occurred during memory allocation
31 freeerr, ///< An error occurred during memory de-allocation
32 parseerr, ///< A parsing error occurred
33 filesystem, ///< A general filesystem error occurred
34 fileoerr, ///< An error occurred while opening a file
35 filewerr, ///< An error occurred while writing to a file
36 filererr, ///< An error occurred while reading from a file
37 filecerr, ///< An error occurred while closing a file
38 filenotfound, ///< The file was not found
39 fileempty, ///< The file is empty
40 dirnotfound, ///< The directory was not found
41 dirempty, ///< The directory was empty
42 procerr, ///< An error occurred while starting a process
43 timeout, ///< A timeout occurred
44 liberr, ///< An error was returned by a library
45 exception, ///< An exception was thrown
46 std_logic_error, ///< A logic error exception was thrown
47 std_invalid_argument, ///< An invalid argument exception was thrown
48 std_domain_error, ///< A domain error exception was thrown
49 std_length_error, ///< A length error exception was thrown
50 std_out_of_range, ///< An out of range exception was thrown
51 std_future_error, ///< A future error exception was thrown
52 std_bad_optional_access, ///< A bad optional access exception was thrown
53 gnuploterr, ///< An error was returned by gnuplot
54 lapackerr, ///< An error was returned by Lapack
55 e2big, ///< Argument list too long (E2BIG)
56 eacces, ///< Permission denied (EACCES)
57 eaddrinuse, ///< Address already in use (EADDRINUSE)
58 eaddrnotavail, ///< Cannot assign requested address (EADDRNOTAVAIL)
59 eafnosupport, ///< Address family not supported by protocol (EAFNOSUPPORT)
60 eagain, ///< Resource temporarily unavailable (EAGAIN)
61 ealready, ///< Operation already in progress (EALREADY)
62 ebadf, ///< Bad file descriptor (EBADF)
63 ebadmsg, ///< Bad message (EBADMSG)
64 ebusy, ///< Device or resource busy (EBUSY)
65 ecanceled, ///< Operation canceled (ECANCELED)
66 echild, ///< No child processes (ECHILD)
67 econnaborted, ///< Software caused connection abort (ECONNABORTED)
68 econnrefused, ///< Connection refused (ECONNREFUSED)
69 econnreset, ///< Connection reset by peer (ECONNRESET)
70 edestaddrreq, ///< Destination address required (EDESTADDRREQ)
71 edom, ///< Numerical argument out of domain (EDOM)
72 eexist, ///< File exists (EEXIST)
73 efault, ///< Bad address (EFAULT)
74 efbig, ///< File too large (EFBIG)
75 ehostunreach, ///< No route to host (EHOSTUNREACH)
76 eidrm, ///< Identifier removed (EIDRM)
77 eilseq, ///< Invalid or incomplete multibyte or wide character (EILSEQ)
78 einprogress, ///< Operation now in progress (EINPROGRESS)
79 eintr, ///< Interrupted system call (EINTR)
80 einval, ///< Invalid argument (EINVAL)
81 eio, ///< Input/output error (EIO)
82 eisconn, ///< Transport endpoint is already connected (EISCONN)
83 eisdir, ///< Is a directory (EISDIR)
84 eloop, ///< Too many levels of symbolic links (ELOOP)
85 emfile, ///< Too many open files (EMFILE)
86 emlink, ///< Too many links (EMLINK)
87 emsgsize, ///< Message too long (EMSGSIZE)
88 enametoolong, ///< File name too long (ENAMETOOLONG)
89 enetdown, ///< Network is down (ENETDOWN)
90 enetreset, ///< Network dropped connection on reset (ENETRESET)
91 enetunreach, ///< Network is unreachable (ENETUNREACH)
92 enfile, ///< Too many open files in system (ENFILE)
93 enobufs, ///< No buffer space available (ENOBUFS)
94 enodata, ///< No data available (ENODATA)
95 enodev, ///< No such device (ENODEV)
96 enoent, ///< No such file or directory (ENOENT)
97 enoexec, ///< Exec format error (ENOEXEC)
98 enolck, ///< No locks available (ENOLCK)
99 enolink, ///< Link has been severed (ENOLINK)
100 enomem, ///< Cannot allocate memory (ENOMEM)
101 enomsg, ///< No message of desired type (ENOMSG)
102 enoprotoopt, ///< Protocol not available (ENOPROTOOPT)
103 enospc, ///< No space left on device (ENOSPC)
104 enosr, ///< Out of streams resources (ENOSR)
105 enostr, ///< Device not a stream (ENOSTR)
106 enosys, ///< Function not implemented (ENOSYS)
107 enotconn, ///< Transport endpoint is not connected (ENOTCONN)
108 enotdir, ///< Not a directory (ENOTDIR)
109 enotempty, ///< Directory not empty (ENOTEMPTY)
110 enotrecoverable, ///< State not recoverable (ENOTRECOVERABLE)
111 enotsock, ///< Socket operation on non-socket (ENOTSOCK)
112 enotsup, ///< Operation not supported (ENOTSUP)
113 enotty, ///< Inappropriate ioctl for device (ENOTTY)
114 enxio, ///< No such device or address (ENXIO)
115 eopnotsupp, ///< Operation not supported (EOPNOTSUPP)
116 eoverflow, ///< Value too large for defined data type (EOVERFLOW)
117 eownerdead, ///< Owner died (EOWNERDEAD)
118 eperm, ///< Operation not permitted (EPERM)
119 epipe, ///< Broken pipe (EPIPE)
120 eproto, ///< Protocol error (EPROTO)
121 eprotonosupport, ///< Protocol not supported (EPROTONOSUPPORT)
122 eprototype, ///< Protocol wrong type for socket (EPROTOTYPE)
123 erange, ///< Numerical result out of range (ERANGE)
124 erofs, ///< Read-only file system (EROFS)
125 espipe, ///< Illegal seek (ESPIPE)
126 esrch, ///< No such process (ESRCH)
127 etime, ///< Timer expired (ETIME)
128 etimedout, ///< Connection timed out (ETIMEDOUT)
129 etxtbsy, ///< Text file busy (ETXTBSY)
130 ewouldblock, ///< Resource temporarily unavailable (EWOULDBLOCK)
131 exdev ///< Invalid cross-device link (EXDEV)
132};
133
134/// Convert an \ref error_t code to its name
135/**
136 * \returns the name of the \ref error_t code
137 *
138 * \ingroup error_handling_codes
139 */
140static constexpr const char * errorName( const error_t & errc /**< [in] the error code to convert*/)
141{
142 switch(errc)
143 {
144 case error_t::noerror:
145 return "noerror";
146 case error_t::error:
147 return "error";
149 return "invalidarg";
151 return "invalidconfig";
152 case error_t::notimpl:
153 return "notimpl";
155 return "paramnotset";
157 return "envnotset";
159 return "notfound";
160 case error_t::sizeerr:
161 return "sizeerr";
163 return "allocerr";
164 case error_t::freeerr:
165 return "freeerr";
167 return "parseerr";
169 return "filesystem";
171 return "fileoerr";
173 return "filewerr";
175 return "filererr";
177 return "filecerr";
179 return "filenotfound";
181 return "fileempty";
183 return "dirnotfound";
185 return "dirempty";
186 case error_t::procerr:
187 return "procerr";
188 case error_t::timeout:
189 return "timeout";
190 case error_t::liberr:
191 return "liberr";
193 return "exception";
195 return "std_logic_error";
197 return "std_invalid_argument";
199 return "std_domain_error";
201 return "std_length_error";
203 return "std_out_of_range";
205 return "std_future_error";
207 return "std_bad_optional_access";
209 return "gnuploterr";
211 return "lapackerr";
212 case error_t::e2big:
213 return "e2big";
214 case error_t::eacces:
215 return "eacces";
217 return "eaddrinuse";
219 return "eaddrnotavail";
221 return "eafnosupport";
222 case error_t::eagain:
223 return "eagain";
225 return "ealready";
226 case error_t::ebadf:
227 return "ebadf";
228 case error_t::ebadmsg:
229 return "ebadmsg";
230 case error_t::ebusy:
231 return "ebusy";
233 return "ecanceled";
234 case error_t::echild:
235 return "echild";
237 return "econnaborted";
239 return "econnrefused";
241 return "econnreset";
243 return "edestaddrreq";
244 case error_t::edom:
245 return "edom";
246 case error_t::eexist:
247 return "eexist";
248 case error_t::efault:
249 return "efault";
250 case error_t::efbig:
251 return "efbig";
253 return "ehostunreach";
254 case error_t::eidrm:
255 return "eidrm";
256 case error_t::eilseq:
257 return "eilseq";
259 return "einprogress";
260 case error_t::eintr:
261 return "eintr";
262 case error_t::einval:
263 return "einval";
264 case error_t::eio:
265 return "eio";
266 case error_t::eisconn:
267 return "eisconn";
268 case error_t::eisdir:
269 return "eisdir";
270 case error_t::eloop:
271 return "eloop";
272 case error_t::emfile:
273 return "emfile";
274 case error_t::emlink:
275 return "emlink";
277 return "emsgsize";
279 return "enametoolong";
281 return "enetdown";
283 return "enetreset";
285 return "enetunreach";
286 case error_t::enfile:
287 return "enfile";
288 case error_t::enobufs:
289 return "enobufs";
290 case error_t::enodata:
291 return "enodata";
292 case error_t::enodev:
293 return "enodev";
294 case error_t::enoent:
295 return "enoent";
296 case error_t::enoexec:
297 return "enoexec";
298 case error_t::enolck:
299 return "enolck";
300 case error_t::enolink:
301 return "enolink";
302 case error_t::enomem:
303 return "enomem";
304 case error_t::enomsg:
305 return "enomsg";
307 return "enoprotoopt";
308 case error_t::enospc:
309 return "enospc";
310 case error_t::enosr:
311 return "enosr";
312 case error_t::enostr:
313 return "enostr";
314 case error_t::enosys:
315 return "enosys";
317 return "enotconn";
318 case error_t::enotdir:
319 return "enotdir";
321 return "enotempty";
323 return "enotrecoverable";
325 return "enotsock";
326 case error_t::enotsup:
327 return "enotsup";
328 case error_t::enotty:
329 return "enotty";
330 case error_t::enxio:
331 return "enxio";
333 return "eopnotsupp";
335 return "eoverflow";
337 return "eownerdead";
338 case error_t::eperm:
339 return "eperm";
340 case error_t::epipe:
341 return "epipe";
342 case error_t::eproto:
343 return "eproto";
345 return "eprotonosupport";
347 return "eprototype";
348 case error_t::erange:
349 return "erange";
350 case error_t::erofs:
351 return "erofs";
352 case error_t::espipe:
353 return "espipe";
354 case error_t::esrch:
355 return "esrch";
356 case error_t::etime:
357 return "etime";
359 return "etimedout";
360 case error_t::etxtbsy:
361 return "etxtbsy";
363 return "ewouldblock";
364 case error_t::exdev:
365 return "exdev";
366 default:
367 return "unknown error_t (bug)";
368 }
369}
370
371/// Get the descriptive message for an \ref error_t code.
372/**
373 * \returns the descriptive message corresponding to the \ref error_t code
374 *
375 * \ingroup error_handling_codes
376 */
377static constexpr const char * errorMessage( const error_t & errc /**< [in] the error code for which to get the message*/)
378{
379 switch(errc)
380 {
381 case error_t::noerror:
382 return "No error has occurred";
383 case error_t::error:
384 return "A general error has occurred";
386 return "An argument was invalid";
388 return "A config setting was invalid";
389 case error_t::notimpl:
390 return "A component or technique is not implemented";
392 return "A parameter was not set";
394 return "A environment variable was not set";
396 return "An item was not found";
397 case error_t::sizeerr:
398 return "A size was invalid or calculated incorrectly";
400 return "An error occurred during memory allocation";
401 case error_t::freeerr:
402 return "An error occurred during memory de-allocation";
404 return "A parsing error occurred";
406 return "A general filesystem error occurred";
408 return "An error occurred while opening a file";
410 return "An error occurred while writing to a file";
412 return "An error occurred while reading from a file";
414 return "An error occurred while closing a file";
416 return "The file was not found";
418 return "The file is empty";
420 return "The directory was not found";
422 return "The directory was empty";
423 case error_t::procerr:
424 return "An error occurred while starting a process";
425 case error_t::timeout:
426 return "A timeout occurred";
427 case error_t::liberr:
428 return "An error was returned by a library";
430 return "An exception was thrown";
432 return "A logic error exception was thrown";
434 return "An invalid argument exception was thrown";
436 return "A domain error exception was thrown";
438 return "A length error exception was thrown";
440 return "An out of range exception was thrown";
442 return "A future error exception was thrown";
444 return "A bad optional access exception was thrown";
446 return "An error was returned by gnuplot";
448 return "An error was returned by Lapack";
449 case error_t::e2big:
450 return "Argument list too long";
451 case error_t::eacces:
452 return "Permission denied";
454 return "Address already in use";
456 return "Cannot assign requested address";
458 return "Address family not supported by protocol";
459 case error_t::eagain:
460 return "Resource temporarily unavailable";
462 return "Operation already in progress";
463 case error_t::ebadf:
464 return "Bad file descriptor";
465 case error_t::ebadmsg:
466 return "Bad message";
467 case error_t::ebusy:
468 return "Device or resource busy";
470 return "Operation canceled";
471 case error_t::echild:
472 return "No child processes";
474 return "Software caused connection abort";
476 return "Connection refused";
478 return "Connection reset by peer";
480 return "Destination address required";
481 case error_t::edom:
482 return "Numerical argument out of domain";
483 case error_t::eexist:
484 return "File exists";
485 case error_t::efault:
486 return "Bad address";
487 case error_t::efbig:
488 return "File too large";
490 return "No route to host";
491 case error_t::eidrm:
492 return "Identifier removed";
493 case error_t::eilseq:
494 return "Invalid or incomplete multibyte or wide character";
496 return "Operation now in progress";
497 case error_t::eintr:
498 return "Interrupted system call";
499 case error_t::einval:
500 return "Invalid argument";
501 case error_t::eio:
502 return "Input/output error";
503 case error_t::eisconn:
504 return "Transport endpoint is already connected";
505 case error_t::eisdir:
506 return "Is a directory";
507 case error_t::eloop:
508 return "Too many levels of symbolic links";
509 case error_t::emfile:
510 return "Too many open files";
511 case error_t::emlink:
512 return "Too many links";
514 return "Message too long";
516 return "File name too long";
518 return "Network is down";
520 return "Network dropped connection on reset";
522 return "Network is unreachable";
523 case error_t::enfile:
524 return "Too many open files in system";
525 case error_t::enobufs:
526 return "No buffer space available";
527 case error_t::enodata:
528 return "No data available";
529 case error_t::enodev:
530 return "No such device";
531 case error_t::enoent:
532 return "No such file or directory";
533 case error_t::enoexec:
534 return "Exec format error";
535 case error_t::enolck:
536 return "No locks available";
537 case error_t::enolink:
538 return "Link has been severed";
539 case error_t::enomem:
540 return "Cannot allocate memory";
541 case error_t::enomsg:
542 return "No message of desired type";
544 return "Protocol not available";
545 case error_t::enospc:
546 return "No space left on device";
547 case error_t::enosr:
548 return "Out of streams resources";
549 case error_t::enostr:
550 return "Device not a stream";
551 case error_t::enosys:
552 return "Function not implemented";
554 return "Transport endpoint is not connected";
555 case error_t::enotdir:
556 return "Not a directory";
558 return "Directory not empty";
560 return "State not recoverable";
562 return "Socket operation on non-socket";
563 case error_t::enotsup:
564 return "Operation not supported";
565 case error_t::enotty:
566 return "Inappropriate ioctl for device";
567 case error_t::enxio:
568 return "No such device or address";
570 return "Operation not supported";
572 return "Value too large for defined data type";
574 return "Owner died";
575 case error_t::eperm:
576 return "Operation not permitted";
577 case error_t::epipe:
578 return "Broken pipe";
579 case error_t::eproto:
580 return "Protocol error";
582 return "Protocol not supported";
584 return "Protocol wrong type for socket";
585 case error_t::erange:
586 return "Numerical result out of range";
587 case error_t::erofs:
588 return "Read-only file system";
589 case error_t::espipe:
590 return "Illegal seek";
591 case error_t::esrch:
592 return "No such process";
593 case error_t::etime:
594 return "Timer expired";
596 return "Connection timed out";
597 case error_t::etxtbsy:
598 return "Text file busy";
600 return "Resource temporarily unavailable";
601 case error_t::exdev:
602 return "Invalid cross-device link";
603 default:
604 return "unknown error_t (bug)";
605 }
606}
607
608/// Convert an errno code to \ref error_t
609/**
610 * \returns the \ref error_t code corresponding to the errno code
611 *
612 * \ingroup error_handling_codes
613 */
614static constexpr error_t errno2error_t( const int & err/**< [in] the errno code to convert*/)
615{
616 switch(err)
617 {
618 case EACCES:
619 return error_t::eacces;
620 case EADDRINUSE:
621 return error_t::eaddrinuse;
622 case EADDRNOTAVAIL:
624 case EAFNOSUPPORT:
626 case EAGAIN:
627 return error_t::eagain;
628 case EALREADY:
629 return error_t::ealready;
630 case EBADF:
631 return error_t::ebadf;
632 case EBADMSG:
633 return error_t::ebadmsg;
634 case EBUSY:
635 return error_t::ebusy;
636 case ECANCELED:
637 return error_t::ecanceled;
638 case ECHILD:
639 return error_t::echild;
640 case ECONNABORTED:
642 case ECONNREFUSED:
644 case ECONNRESET:
645 return error_t::econnreset;
646 case EDESTADDRREQ:
648 case EDOM:
649 return error_t::edom;
650 case EEXIST:
651 return error_t::eexist;
652 case EFAULT:
653 return error_t::efault;
654 case EFBIG:
655 return error_t::efbig;
656 case EHOSTUNREACH:
658 case EIDRM:
659 return error_t::eidrm;
660 case EILSEQ:
661 return error_t::eilseq;
662 case EINPROGRESS:
664 case EINTR:
665 return error_t::eintr;
666 case EINVAL:
667 return error_t::einval;
668 case EIO:
669 return error_t::eio;
670 case EISCONN:
671 return error_t::eisconn;
672 case EISDIR:
673 return error_t::eisdir;
674 case ELOOP:
675 return error_t::eloop;
676 case EMFILE:
677 return error_t::emfile;
678 case EMLINK:
679 return error_t::emlink;
680 case EMSGSIZE:
681 return error_t::emsgsize;
682 case ENAMETOOLONG:
684 case ENETDOWN:
685 return error_t::enetdown;
686 case ENETRESET:
687 return error_t::enetreset;
688 case ENETUNREACH:
690 case ENFILE:
691 return error_t::enfile;
692 case ENOBUFS:
693 return error_t::enobufs;
694 case ENODATA:
695 return error_t::enodata;
696 case ENODEV:
697 return error_t::enodev;
698 case ENOENT:
699 return error_t::enoent;
700 case ENOEXEC:
701 return error_t::enoexec;
702 case ENOLCK:
703 return error_t::enolck;
704 case ENOLINK:
705 return error_t::enolink;
706 case ENOMEM:
707 return error_t::enomem;
708 case ENOMSG:
709 return error_t::enomsg;
710 case ENOPROTOOPT:
712 case ENOSPC:
713 return error_t::enospc;
714 case ENOSR:
715 return error_t::enosr;
716 case ENOSTR:
717 return error_t::enostr;
718 case ENOSYS:
719 return error_t::enosys;
720 case ENOTCONN:
721 return error_t::enotconn;
722 case ENOTDIR:
723 return error_t::enotdir;
724 case ENOTEMPTY:
725 return error_t::enotempty;
726 case ENOTRECOVERABLE:
728 case ENOTSOCK:
729 return error_t::enotsock;
730 case ENOTSUP:
731 return error_t::enotsup;
732 case ENOTTY:
733 return error_t::enotty;
734 case ENXIO:
735 return error_t::enxio;
736 case EOVERFLOW:
737 return error_t::eoverflow;
738 case EOWNERDEAD:
739 return error_t::eownerdead;
740 case EPERM:
741 return error_t::eperm;
742 case EPIPE:
743 return error_t::epipe;
744 case EPROTO:
745 return error_t::eproto;
746 case EPROTONOSUPPORT:
748 case EPROTOTYPE:
749 return error_t::eprototype;
750 case ERANGE:
751 return error_t::erange;
752 case EROFS:
753 return error_t::erofs;
754 case ESPIPE:
755 return error_t::espipe;
756 case ESRCH:
757 return error_t::esrch;
758 case ETIME:
759 return error_t::etime;
760 case ETIMEDOUT:
761 return error_t::etimedout;
762 case ETXTBSY:
763 return error_t::etxtbsy;
764 case EXDEV:
765 return error_t::exdev;
766 default:
767 return error_t::error;
768 }
769}
770} //namespace mx
771#endif //mx_error_t_hpp
error_t
The mxlib error codes.
Definition error_t.hpp:20
static constexpr const char * errorName(const error_t &errc)
Convert an error_t code to its name.
Definition error_t.hpp:140
static constexpr error_t errno2error_t(const int &err)
Convert an errno code to error_t.
Definition error_t.hpp:614
static constexpr const char * errorMessage(const error_t &errc)
Get the descriptive message for an error_t code.
Definition error_t.hpp:377
@ eopnotsupp
Operation not supported (EOPNOTSUPP)
@ e2big
Argument list too long (E2BIG)
@ filenotfound
The file was not found.
@ eilseq
Invalid or incomplete multibyte or wide character (EILSEQ)
@ notimpl
A component or technique is not implemented.
@ enotsup
Operation not supported (ENOTSUP)
@ eprotonosupport
Protocol not supported (EPROTONOSUPPORT)
@ noerror
No error has occurred.
@ enosr
Out of streams resources (ENOSR)
@ etxtbsy
Text file busy (ETXTBSY)
@ eperm
Operation not permitted (EPERM)
@ enotconn
Transport endpoint is not connected (ENOTCONN)
@ enetunreach
Network is unreachable (ENETUNREACH)
@ enosys
Function not implemented (ENOSYS)
@ enametoolong
File name too long (ENAMETOOLONG)
@ filererr
An error occurred while reading from a file.
@ edom
Numerical argument out of domain (EDOM)
@ emfile
Too many open files (EMFILE)
@ eexist
File exists (EEXIST)
@ dirnotfound
The directory was not found.
@ exdev
Invalid cross-device link (EXDEV)
@ enodata
No data available (ENODATA)
@ emsgsize
Message too long (EMSGSIZE)
@ eisdir
Is a directory (EISDIR)
@ procerr
An error occurred while starting a process.
@ fileempty
The file is empty.
@ eoverflow
Value too large for defined data type (EOVERFLOW)
@ enotsock
Socket operation on non-socket (ENOTSOCK)
@ eafnosupport
Address family not supported by protocol (EAFNOSUPPORT)
@ std_logic_error
A logic error exception was thrown.
@ sizeerr
A size was invalid or calculated incorrectly.
@ dirempty
The directory was empty.
@ enotempty
Directory not empty (ENOTEMPTY)
@ std_domain_error
A domain error exception was thrown.
@ exception
An exception was thrown.
@ eownerdead
Owner died (EOWNERDEAD)
@ eintr
Interrupted system call (EINTR)
@ enodev
No such device (ENODEV)
@ esrch
No such process (ESRCH)
@ einval
Invalid argument (EINVAL)
@ econnrefused
Connection refused (ECONNREFUSED)
@ lapackerr
An error was returned by Lapack.
@ eacces
Permission denied (EACCES)
@ etime
Timer expired (ETIME)
@ erange
Numerical result out of range (ERANGE)
@ erofs
Read-only file system (EROFS)
@ std_bad_optional_access
A bad optional access exception was thrown.
@ parseerr
A parsing error occurred.
@ eaddrnotavail
Cannot assign requested address (EADDRNOTAVAIL)
@ ecanceled
Operation canceled (ECANCELED)
@ ehostunreach
No route to host (EHOSTUNREACH)
@ eprototype
Protocol wrong type for socket (EPROTOTYPE)
@ enoent
No such file or directory (ENOENT)
@ ealready
Operation already in progress (EALREADY)
@ enotdir
Not a directory (ENOTDIR)
@ enoprotoopt
Protocol not available (ENOPROTOOPT)
@ enolink
Link has been severed (ENOLINK)
@ filecerr
An error occurred while closing a file.
@ eio
Input/output error (EIO)
@ econnreset
Connection reset by peer (ECONNRESET)
@ ebadmsg
Bad message (EBADMSG)
@ ewouldblock
Resource temporarily unavailable (EWOULDBLOCK)
@ allocerr
An error occurred during memory allocation.
@ emlink
Too many links (EMLINK)
@ enobufs
No buffer space available (ENOBUFS)
@ enxio
No such device or address (ENXIO)
@ enostr
Device not a stream (ENOSTR)
@ enotty
Inappropriate ioctl for device (ENOTTY)
@ fileoerr
An error occurred while opening a file.
@ paramnotset
A parameter was not set.
@ eaddrinuse
Address already in use (EADDRINUSE)
@ timeout
A timeout occurred.
@ enotrecoverable
State not recoverable (ENOTRECOVERABLE)
@ enoexec
Exec format error (ENOEXEC)
@ espipe
Illegal seek (ESPIPE)
@ edestaddrreq
Destination address required (EDESTADDRREQ)
@ efault
Bad address (EFAULT)
@ invalidconfig
A config setting was invalid.
@ filewerr
An error occurred while writing to a file.
@ std_out_of_range
An out of range exception was thrown.
@ eloop
Too many levels of symbolic links (ELOOP)
@ filesystem
A general filesystem error occurred.
@ eagain
Resource temporarily unavailable (EAGAIN)
@ echild
No child processes (ECHILD)
@ invalidarg
An argument was invalid.
@ enetreset
Network dropped connection on reset (ENETRESET)
@ std_future_error
A future error exception was thrown.
@ enfile
Too many open files in system (ENFILE)
@ eproto
Protocol error (EPROTO)
@ etimedout
Connection timed out (ETIMEDOUT)
@ std_length_error
A length error exception was thrown.
@ notfound
An item was not found.
@ ebusy
Device or resource busy (EBUSY)
@ efbig
File too large (EFBIG)
@ enomsg
No message of desired type (ENOMSG)
@ std_invalid_argument
An invalid argument exception was thrown.
@ error
A general error has occurred.
@ enetdown
Network is down (ENETDOWN)
@ enospc
No space left on device (ENOSPC)
@ liberr
An error was returned by a library.
@ enolck
No locks available (ENOLCK)
@ econnaborted
Software caused connection abort (ECONNABORTED)
@ eidrm
Identifier removed (EIDRM)
@ epipe
Broken pipe (EPIPE)
@ einprogress
Operation now in progress (EINPROGRESS)
@ ebadf
Bad file descriptor (EBADF)
@ gnuploterr
An error was returned by gnuplot.
@ enomem
Cannot allocate memory (ENOMEM)
@ eisconn
Transport endpoint is already connected (EISCONN)
@ freeerr
An error occurred during memory de-allocation.
@ envnotset
A environment variable was not set.
The mxlib c++ namespace.
Definition mxError.hpp:40