User
struct:error
object will have a bunch of useful properties on it:error.failures
generator, like so:failure
object will give you information about a specific failure of the data.🤖 Note: Superstruct actually doesn't know what the failures are beyond the first one until you iterate through them. This happens "on-demand", which can signficantly improve performance in failure cases.