Adding template parameter to parser_error to avoid having multiple success instances and to allow for stronger return type guarantees.