Update parser.rs
Merge pull request #4 from mananshah99/master

Proper error naming system (updated)