Converts a vector of IOErrors into a human-readable string.
const result = CatParserBus.deserialize(data);if (result.isLeft()) { console.error(result.getLeftOrThrow()); /* Litter ├─ birthplace │ └─ isString(any) │ └─ isString rejected `false\ └─ kittens └─ Vector(Cat) └─ [2] └─ Cat ├─ isAdopted │ └─ isBoolean(any) │ └─ isBoolean rejected `not yet` └─ age └─ isPositive(isValidNumber(isNumber(any))) └─ isPositive rejected `-1` */} Copy
const result = CatParserBus.deserialize(data);if (result.isLeft()) { console.error(result.getLeftOrThrow()); /* Litter ├─ birthplace │ └─ isString(any) │ └─ isString rejected `false\ └─ kittens └─ Vector(Cat) └─ [2] └─ Cat ├─ isAdopted │ └─ isBoolean(any) │ └─ isBoolean rejected `not yet` └─ age └─ isPositive(isValidNumber(isNumber(any))) └─ isPositive rejected `-1` */}
Generated using TypeDoc
Converts a vector of IOErrors into a human-readable string.