Converts string to int.
source text.
Result.ok(parsed integer), or Result.error(ConvertError.PARSE) when parsing fails.