zpp
Zephyr C++20 Framework
error_code.hpp File Reference
#include <zephyr/kernel.h>
#include <zephyr/sys/__assert.h>
#include <errno.h>
Include dependency graph for error_code.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 zpp
 

Enumerations

enum class  zpp::error_code {
  zpp::k_perm = EPERM , zpp::k_noent = ENOENT , zpp::k_srch = ESRCH , zpp::k_intr = EINTR ,
  zpp::k_io = EIO , zpp::k_nxio = ENXIO , zpp::k_2big = E2BIG , zpp::k_noexec = ENOEXEC ,
  zpp::k_badf = EBADF , zpp::k_child = ECHILD , zpp::k_again = EAGAIN , zpp::k_nomem = ENOMEM ,
  zpp::k_acces = EACCES , zpp::k_fault = EFAULT , zpp::k_notblk = ENOTBLK , zpp::k_busy = EBUSY ,
  zpp::k_exits = EEXIST , zpp::k_xdev = EXDEV , zpp::k_nodev = ENODEV , zpp::k_notdir = ENOTDIR ,
  zpp::k_isdir = EISDIR , zpp::k_inval = EINVAL , zpp::k_nfile = ENFILE , zpp::k_mfile = EMFILE ,
  zpp::k_notty = ENOTTY , zpp::k_txtbsy = ETXTBSY , zpp::k_fbig = EFBIG , zpp::k_nospc = ENOSPC ,
  zpp::k_spipe = ESPIPE , zpp::k_rofs = EROFS , zpp::k_mlink = EMLINK , zpp::k_pipe = EPIPE ,
  zpp::k_dom = EDOM , zpp::k_range = ERANGE , zpp::k_nomsg = ENOMSG , zpp::k_deadlk = EDEADLK ,
  zpp::k_nolck = ENOLCK , zpp::k_nostr = ENOSTR , zpp::k_nodata = ENODATA , zpp::k_time = ETIME ,
  zpp::k_nosr = ENOSR , zpp::k_proto = EPROTO , zpp::k_badmsg = EBADMSG , zpp::k_nosys = ENOSYS ,
  zpp::k_notempty = ENOTEMPTY , zpp::k_nametoolong = ENAMETOOLONG , zpp::k_loop = ELOOP , zpp::k_opnotsupp = EOPNOTSUPP ,
  zpp::k_pfnosupport = EPFNOSUPPORT , zpp::k_connreset = ECONNRESET , zpp::k_nobufs = ENOBUFS , zpp::k_afnosupport = EAFNOSUPPORT ,
  zpp::k_prototype = EPROTOTYPE , zpp::k_notsock = ENOTSOCK , zpp::k_noprotoopt = ENOPROTOOPT , zpp::k_shutdown = ESHUTDOWN ,
  zpp::k_connrefused = ECONNREFUSED , zpp::k_addrinuse = EADDRINUSE , zpp::k_connaborted = ECONNABORTED , zpp::k_netunreach = ENETUNREACH ,
  zpp::k_netdown = ENETDOWN , zpp::k_timeout = ETIMEDOUT , zpp::k_hostdown = EHOSTDOWN , zpp::k_hostunreach = EHOSTUNREACH ,
  zpp::k_inprogress = EINPROGRESS , zpp::k_already = EALREADY , zpp::k_destaddrreq = EDESTADDRREQ , zpp::k_msgsize = EMSGSIZE ,
  zpp::k_protonosupport = EPROTONOSUPPORT , zpp::k_socktnosupport = ESOCKTNOSUPPORT , zpp::k_addrnotavail = EADDRNOTAVAIL , zpp::k_netreset = ENETRESET ,
  zpp::k_isconn = EISCONN , zpp::k_notconn = ENOTCONN , zpp::k_toomanyrefs = ETOOMANYREFS , zpp::k_notsup = ENOTSUP ,
  zpp::k_ilseq = EILSEQ , zpp::k_overflow = EOVERFLOW , zpp::k_canceled = ECANCELED , zpp::k_wouldblock = EWOULDBLOCK
}
 enum with zephyr error codes More...
 

Functions

constexpr error_code zpp::to_error_code (int v) noexcept