Error returns the error message.
()
| 24741 | |
| 24742 | // Error returns the error message. |
| 24743 | func (p *parserError) Error() string { |
| 24744 | return p.prefix + ": " + p.Inner.Error() |
| 24745 | } |
| 24746 | |
| 24747 | // newParser creates a parser with the specified input source and options. |
| 24748 | func newParser(filename string, b []byte, opts ...Option) *parser { |