Use Result/Err(()) instead of Option/None to indicate a parse error.

r? @metajack