Add checker to check error type

No match.