Open cloudkite opened 11 years ago
I often experience that the stylesheet silently fails to parse when I have a syntax error. Nothing in the console, but no style applied. Is this intended?
How would you go about improving error handling? I have some time next weekend that I could spend on this issue.
There are already some cases which are handled by the parser returning an NSError see https://github.com/cloudkite/Classy/blob/master/Classy/Parser/CASParser.m#L274
So it would be a matter of checking those are working correctly, theres no tests around error handling at the moment. Then using the same approach to raise other errors. If you do have time to look into it, feel free to ping me with questions. thanks!
For unrecognised properties, classes, arguments etc At the moment some things are silently ignored.