Closed martyall closed 6 years ago
We should be using withErrorMessage from purescript-parsing whenever all parsers fail. The alternative to this is that the last parser that tried to run will fail, and this gives a confusing error message
withErrorMessage
https://pursuit.purescript.org/packages/purescript-parsing/4.3.1/docs/Text.Parsing.Parser.Combinators#v:(%3C?%3E)
I know we have parser of abi in ps-web3-generator is that what you are referring to? if not can you add a link, please
We should be using
withErrorMessage
from purescript-parsing whenever all parsers fail. The alternative to this is that the last parser that tried to run will fail, and this gives a confusing error messagehttps://pursuit.purescript.org/packages/purescript-parsing/4.3.1/docs/Text.Parsing.Parser.Combinators#v:(%3C?%3E)