You're seeing just the function rewrite_error, go back to Ergo.Parser module for more information.
Link to this function

rewrite_error(ctx, parser)

The rewrite_error/2 call allows a higher-level parser to rewrite the error returned by a subordinate parser, translating it into something a user is more likely to be able to understand.