mxlib
c++ tools for analyzing astronomical data and other tasks by Jared R. Males. [git repo]
Loading...
Searching...
No Matches
error_t.hpp File Reference

The mxlib error_t type and utilities. More...

The mxlib error_t type and utilities.

Definition in file error_t.hpp.

Go to the source code of this file.

Namespaces

namespace  mx
 The mxlib c++ namespace.
 

Enumerations

enum class  mx::error_t {
  mx::error_t::noerror , mx::error_t::error , mx::error_t::invalidarg , mx::error_t::invalidconfig ,
  mx::error_t::notimpl , mx::error_t::paramnotset , mx::error_t::envnotset , mx::error_t::notfound ,
  mx::error_t::sizeerr , mx::error_t::allocerr , mx::error_t::freeerr , mx::error_t::parseerr ,
  mx::error_t::filesystem , mx::error_t::fileoerr , mx::error_t::filewerr , mx::error_t::filererr ,
  mx::error_t::filecerr , mx::error_t::filenotfound , mx::error_t::fileempty , mx::error_t::dirnotfound ,
  mx::error_t::dirempty , mx::error_t::procerr , mx::error_t::timeout , mx::error_t::liberr ,
  mx::error_t::exception , mx::error_t::std_logic_error , mx::error_t::std_invalid_argument , mx::error_t::std_domain_error ,
  mx::error_t::std_length_error , mx::error_t::std_out_of_range , mx::error_t::std_future_error , mx::error_t::std_bad_optional_access ,
  mx::error_t::gnuploterr , mx::error_t::lapackerr , mx::error_t::e2big , mx::error_t::eacces ,
  mx::error_t::eaddrinuse , mx::error_t::eaddrnotavail , mx::error_t::eafnosupport , mx::error_t::eagain ,
  mx::error_t::ealready , mx::error_t::ebadf , mx::error_t::ebadmsg , mx::error_t::ebusy ,
  mx::error_t::ecanceled , mx::error_t::echild , mx::error_t::econnaborted , mx::error_t::econnrefused ,
  mx::error_t::econnreset , mx::error_t::edestaddrreq , mx::error_t::edom , mx::error_t::eexist ,
  mx::error_t::efault , mx::error_t::efbig , mx::error_t::ehostunreach , mx::error_t::eidrm ,
  mx::error_t::eilseq , mx::error_t::einprogress , mx::error_t::eintr , mx::error_t::einval ,
  mx::error_t::eio , mx::error_t::eisconn , mx::error_t::eisdir , mx::error_t::eloop ,
  mx::error_t::emfile , mx::error_t::emlink , mx::error_t::emsgsize , mx::error_t::enametoolong ,
  mx::error_t::enetdown , mx::error_t::enetreset , mx::error_t::enetunreach , mx::error_t::enfile ,
  mx::error_t::enobufs , mx::error_t::enodata , mx::error_t::enodev , mx::error_t::enoent ,
  mx::error_t::enoexec , mx::error_t::enolck , mx::error_t::enolink , mx::error_t::enomem ,
  mx::error_t::enomsg , mx::error_t::enoprotoopt , mx::error_t::enospc , mx::error_t::enosr ,
  mx::error_t::enostr , mx::error_t::enosys , mx::error_t::enotconn , mx::error_t::enotdir ,
  mx::error_t::enotempty , mx::error_t::enotrecoverable , mx::error_t::enotsock , mx::error_t::enotsup ,
  mx::error_t::enotty , mx::error_t::enxio , mx::error_t::eopnotsupp , mx::error_t::eoverflow ,
  mx::error_t::eownerdead , mx::error_t::eperm , mx::error_t::epipe , mx::error_t::eproto ,
  mx::error_t::eprotonosupport , mx::error_t::eprototype , mx::error_t::erange , mx::error_t::erofs ,
  mx::error_t::espipe , mx::error_t::esrch , mx::error_t::etime , mx::error_t::etimedout ,
  mx::error_t::etxtbsy , mx::error_t::ewouldblock , mx::error_t::exdev
}
 The mxlib error codes. More...
 

Functions

static constexpr const char * mx::errorName (const error_t &errc)
 Convert an error_t code to its name.
 
static constexpr const char * mx::errorMessage (const error_t &errc)
 Get the descriptive message for an error_t code.
 
static constexpr error_t mx::errno2error_t (const int &err)
 Convert an errno code to error_t.