pars 0.2.1
Loading...
Searching...
No Matches
err.h File Reference
#include "clev/err.h"
#include <nng/nng.h>
#include <expected>
Include dependency graph for err.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  std::is_error_code_enum< nngxx::err >
 

Namespaces

namespace  nngxx
 

Enumerations

enum class  nngxx::err {
  nngxx::success = 0 , nngxx::intr = NNG_EINTR , nngxx::nomem = NNG_ENOMEM , nngxx::inval = NNG_EINVAL ,
  nngxx::busy = NNG_EBUSY , nngxx::timedout = NNG_ETIMEDOUT , nngxx::connrefused = NNG_ECONNREFUSED , nngxx::closed = NNG_ECLOSED ,
  nngxx::again = NNG_EAGAIN , nngxx::notsup = NNG_ENOTSUP , nngxx::addrinuse = NNG_EADDRINUSE , nngxx::state = NNG_ESTATE ,
  nngxx::noent = NNG_ENOENT , nngxx::proto = NNG_EPROTO , nngxx::unreachable = NNG_EUNREACHABLE , nngxx::addrinval = NNG_EADDRINVAL ,
  nngxx::perm = NNG_EPERM , nngxx::msgsize = NNG_EMSGSIZE , nngxx::connaborted = NNG_ECONNABORTED , nngxx::connreset = NNG_ECONNRESET ,
  nngxx::canceled = NNG_ECANCELED , nngxx::nofiles = NNG_ENOFILES , nngxx::nospc = NNG_ENOSPC , nngxx::exist = NNG_EEXIST ,
  nngxx::readonly = NNG_EREADONLY , nngxx::writeonly = NNG_EWRITEONLY , nngxx::crypto = NNG_ECRYPTO , nngxx::peerauth = NNG_EPEERAUTH ,
  nngxx::noarg = NNG_ENOARG , nngxx::ambiguous = NNG_EAMBIGUOUS , nngxx::badtype = NNG_EBADTYPE , nngxx::connshut = NNG_ECONNSHUT ,
  nngxx::internal = NNG_EINTERNAL , nngxx::syserr = NNG_ESYSERR , nngxx::tranerr = NNG_ETRANERR
}
 

Functions

std::error_code nngxx::make_error_code (err e) noexcept
 
template<typename ret_t, typename arg_t, typename... args_t>
clev::expected< std::remove_pointer_t< arg_t > > nngxx::make (ret_t(*f)(arg_t, args_t...), args_t... args) noexcept
 
template<typename ret_t, typename... args_t>
requires (!std::is_void_v<ret_t>)
clev::expected< void > nngxx::invoke (ret_t(*f)(args_t...), args_t... args) noexcept
 
template<typename... args_t>
clev::expected< void > nngxx::invoke (void(*f)(args_t...), args_t... args) noexcept