move error data into parser struct
more useful error helper
update readme sample