NPRPC docs

class Exception

C++

class Exception : public std::runtime_error

Base of every exception NPRPC raises, including those declared in IDL.

include/nprpc/exception.hpp:10

Constructors

explicit Exception(const char *const msg) noexcept

An exception with message msg.

include/nprpc/exception.hpp:14

explicit Exception(const std::string &msg) noexcept

An exception with message msg.

include/nprpc/exception.hpp:20