remove `return throw`
add base ParserError class so it can be extended and caught