Matching the exact error type.