151 return "invalidconfig";
155 return "paramnotset";
179 return "filenotfound";
183 return "dirnotfound";
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";
219 return "eaddrnotavail";
221 return "eafnosupport";
237 return "econnaborted";
239 return "econnrefused";
243 return "edestaddrreq";
253 return "ehostunreach";
259 return "einprogress";
279 return "enametoolong";
285 return "enetunreach";
307 return "enoprotoopt";
323 return "enotrecoverable";
345 return "eprotonosupport";
363 return "ewouldblock";
367 return "unknown error_t (bug)";
382 return "No error has occurred";
384 return "A general error has occurred";
386 return "An argument was invalid";
388 return "A config setting was invalid";
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";
398 return "A size was invalid or calculated incorrectly";
400 return "An error occurred during memory allocation";
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";
424 return "An error occurred while starting a process";
426 return "A timeout occurred";
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";
450 return "Argument list too long";
452 return "Permission denied";
454 return "Address already in use";
456 return "Cannot assign requested address";
458 return "Address family not supported by protocol";
460 return "Resource temporarily unavailable";
462 return "Operation already in progress";
464 return "Bad file descriptor";
466 return "Bad message";
468 return "Device or resource busy";
470 return "Operation canceled";
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";
482 return "Numerical argument out of domain";
484 return "File exists";
486 return "Bad address";
488 return "File too large";
490 return "No route to host";
492 return "Identifier removed";
494 return "Invalid or incomplete multibyte or wide character";
496 return "Operation now in progress";
498 return "Interrupted system call";
500 return "Invalid argument";
502 return "Input/output error";
504 return "Transport endpoint is already connected";
506 return "Is a directory";
508 return "Too many levels of symbolic links";
510 return "Too many open files";
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";
524 return "Too many open files in system";
526 return "No buffer space available";
528 return "No data available";
530 return "No such device";
532 return "No such file or directory";
534 return "Exec format error";
536 return "No locks available";
538 return "Link has been severed";
540 return "Cannot allocate memory";
542 return "No message of desired type";
544 return "Protocol not available";
546 return "No space left on device";
548 return "Out of streams resources";
550 return "Device not a stream";
552 return "Function not implemented";
554 return "Transport endpoint is not connected";
556 return "Not a directory";
558 return "Directory not empty";
560 return "State not recoverable";
562 return "Socket operation on non-socket";
564 return "Operation not supported";
566 return "Inappropriate ioctl for device";
568 return "No such device or address";
570 return "Operation not supported";
572 return "Value too large for defined data type";
576 return "Operation not permitted";
578 return "Broken pipe";
580 return "Protocol error";
582 return "Protocol not supported";
584 return "Protocol wrong type for socket";
586 return "Numerical result out of range";
588 return "Read-only file system";
590 return "Illegal seek";
592 return "No such process";
594 return "Timer expired";
596 return "Connection timed out";
598 return "Text file busy";
600 return "Resource temporarily unavailable";
602 return "Invalid cross-device link";
604 return "unknown error_t (bug)";
726 case ENOTRECOVERABLE:
746 case EPROTONOSUPPORT:
error_t
The mxlib error codes.
static constexpr const char * errorName(const error_t &errc)
Convert an error_t code to its name.
static constexpr error_t errno2error_t(const int &err)
Convert an errno code to error_t.
static constexpr const char * errorMessage(const error_t &errc)
Get the descriptive message for an error_t code.
@ 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.