Validation error code and optional detailed error message. More...
#include <validation-error.hpp>
Public Types | |
enum | Code : uint32_t { NO_ERROR = 0, INVALID_SIGNATURE = 1, NO_SIGNATURE = 2, CANNOT_RETRIEVE_CERT = 3, EXPIRED_CERT = 4, LOOP_DETECTED = 5, MALFORMED_CERT = 6, EXCEEDED_DEPTH_LIMIT = 7, INVALID_KEY_LOCATOR = 8, POLICY_ERROR = 9, IMPLEMENTATION_ERROR = 255, USER_MIN = 256 } |
Known validation error code. More... | |
Public Member Functions | |
ValidationError (uint32_t code, const std::string &info="") | |
Validation error, implicitly convertible from an error code and info. More... | |
uint32_t | getCode () const |
const std::string & | getInfo () const |
Validation error code and optional detailed error message.
Definition at line 34 of file validation-error.hpp.
enum ndn::security::v2::ValidationError::Code : uint32_t |
Known validation error code.
Enumerator | |
---|---|
NO_ERROR | |
INVALID_SIGNATURE | |
NO_SIGNATURE | |
CANNOT_RETRIEVE_CERT | |
EXPIRED_CERT | |
LOOP_DETECTED | |
MALFORMED_CERT | |
EXCEEDED_DEPTH_LIMIT | |
INVALID_KEY_LOCATOR | |
POLICY_ERROR | |
IMPLEMENTATION_ERROR | |
USER_MIN |
Definition at line 41 of file validation-error.hpp.
|
inline |
Validation error, implicitly convertible from an error code and info.
Definition at line 60 of file validation-error.hpp.
|
inline |
Definition at line 67 of file validation-error.hpp.
Referenced by ndn::security::v2::operator<<().
|
inline |
Definition at line 73 of file validation-error.hpp.
References ndn::security::v2::operator<<().
Referenced by ndn::security::v2::operator<<().