Adding meaningful type specific errors