Leosac
0.8.0
Open Source Access Control
|
Describes a model error. More...
#include <ModelException.hpp>
Public Attributes | |
std::string | source_pointer |
The "path" to the source of the error. More... | |
std::string | message |
The error message. More... | |
Describes a model error.
This maps to DS.InvalidError on the client side (EmberJS).
source_pointer
is "data", this means its a global model error, not tied to a specific attribute. Definition at line 45 of file ModelException.hpp.
std::string ModelException::ModelError::message |
The error message.
Definition at line 57 of file ModelException.hpp.
std::string ModelException::ModelError::source_pointer |
The "path" to the source of the error.
Following JSON API, this is generally something like "data/attributes/AttributeName"
Definition at line 52 of file ModelException.hpp.