HasError

The function HasError() returns true if an error occurs in the mapping.

Note: Only the errors up to the mapping rule where this function is called are considered.