Move try-catch into the parsing logic, and display errors into the output.
Move try-catch into the parsing logic, and display errors into the
output.

measurement-factory/functional-text-sandbox,measurement-factory/functional-text-sandbox,measurement-factory/functional-text-sandbox