I am using tv4 to detect schema errors.
I tried getting all results using: tv4.validateMultiple
call which detected multiple errors but did not say where or why.
Is there any way in tv4 to provide more elaborate information of failures?
var res = tv4.validateMultiple(data, schema,null,true);
errors:[]
0:{}
message:"Missing required property: coMMand"
name:"ValidationError"
type:"Error"
1:{}
message:"Unknown property (not in schema)"
name:"ValidationError"
type:"Error"
2:{}
message:"Unknown property (not in schema)"
name:"ValidationError"
type:"Error"