Do not propagate exceptions in `from_string`

Catch exception thrown in `from_string_impl` and do not propagate them. The
calling function, i.e., `from_string`, return `none` in case of a parser error.
Hence, exceptions are not expected (or allowed).