Base class for all RLP exceptions.
| 49 | |
| 50 | /// Base class for all RLP exceptions. |
| 51 | struct RLPException: virtual Exception { RLPException(std::string _message = std::string()): Exception(_message) {} }; |
| 52 | #define DEV_SIMPLE_EXCEPTION_RLP(X) struct X: virtual RLPException { const char* what() const noexcept override { return #X; } } |
| 53 | |
| 54 | DEV_SIMPLE_EXCEPTION_RLP(BadCast); |
no outgoing calls
no test coverage detected