Support pretty print of errors on Schema with the following requirements - Indent of complex structures - Should support multiple errors ## [ 1, 2 ] expected 2 elements ## { one: function(){} 'number' was expected but found 'function' instead., two: '2' }
Support pretty print of errors on Schema with the following requirements
[
1,
2
] expected 2 elements
{
one: function(){} 'number' was expected but found 'function' instead.,
two: '2'
}