pub fn check(text: &str) -> Result<(), Error>
Checks that text is a well-formed document that the Reader accepts, with the default Limits.
text
Reader
Limits
The first error.