ShEx.ex v0.1.0 ShEx.Violation protocol View Source
A violation of a shape during validation.
Link to this section Summary
Functions
The label of the violation type.
A human representation of the violation.
A human representation of the reason for the violation.
Link to this section Types
Link to this type
t()
View Source
t()
View Source
t() :: term()
t() :: term()
Link to this section Functions
Link to this function
label(violation) View Source
The label of the violation type.
Link to this function
message(violation) View Source
A human representation of the violation.
Currently it's the same as the reason, but might contain additional information in the future.
Link to this function
reason(violation) View Source
A human representation of the reason for the violation.