Improve the error stack of cmsparse.
Catch parse error.