validateTask call returns a boolean. Check return value and construct the error if its false.
validateTask call returns a boolean. Check return value and construct the error if its false.

materials-commons/materialscommons.org,materials-commons/materialscommons.org,materials-commons/materialscommons.org,materials-commons/materialscommons.org,materials-commons/materialscommons.org