#include <memory>
#include <string>
#include <system_error>
#include <zmq.h>
#include "common/expect.h"
#include "span.h"
Go to the source code of this file.
|
| namespace | epee |
| | TODO: (mj-xmr) This will be reduced in an another PR.
|
| namespace | net |
| namespace | net::zmq |
|
| #define | MONERO_ZMQ_CHECK(...) |
| | If the expression is less than 0, return the current ZMQ error code.
|
| #define | MONERO_LOG_ZMQ_ERROR(...) |
| | Print a message followed by the current ZMQ error message.
|
| #define | MONERO_ZMQ_THROW(msg) |
| | Throw an exception with a custom msg, current ZMQ error code, filename, and line number.
|
◆ MONERO_LOG_ZMQ_ERROR
| #define MONERO_LOG_ZMQ_ERROR |
( |
| ... | ) |
|
Value:do \
{ \
} while (0)
std::error_code get_error_code() noexcept
Definition zmq.h:77
Print a message followed by the current ZMQ error message.
◆ MONERO_ZMQ_CHECK
| #define MONERO_ZMQ_CHECK |
( |
| ... | ) |
|
Value:do \
{ \
if (( __VA_ARGS__ ) < 0) \
} while (0)
If the expression is less than 0, return the current ZMQ error code.
◆ MONERO_ZMQ_THROW
| #define MONERO_ZMQ_THROW |
( |
| msg | ) |
|
Value:
#define MONERO_THROW(code, msg)
Definition expect.h:67
Throw an exception with a custom msg, current ZMQ error code, filename, and line number.