STAR++ v0.2.2
C++ implementation of STAR voting
|
The ReferenceError struct is used to report errors while parsing election/results data in their reference formats.
#include <star/reference.h>
Public Member Functions | |
bool | isValid () |
Public Attributes | |
QString | error |
QString | errorDetails |
ReferenceErrorType | type = ReferenceErrorType::NoError |
|
inline |
Returns true
if the reference error actually describes an error; otherwise, returns false
.
ReferenceErrorType Star::ReferenceError::error |
A string that holds the primary error.
ReferenceErrorType Star::ReferenceError::errorDetails |
A string that details regarding the error.
ReferenceErrorType Star::ReferenceError::type = ReferenceErrorType::NoError |
The type of error that occurred.