(msg: string, span: ParseSourceSpan)
| 539 | } |
| 540 | |
| 541 | private _createError(msg: string, span: ParseSourceSpan): ParseError { |
| 542 | if (this._isInExpansionForm()) { |
| 543 | msg += ` (Do you have an unescaped "{" in your template? Use "{{ '{' }}") to escape it.)`; |
| 544 | } |
| 545 | const error = new ParseError(span, msg); |
| 546 | this._currentTokenStart = null; |
| 547 | this._currentTokenType = null; |
| 548 | return error; |
| 549 | } |
| 550 | |
| 551 | private handleError(e: any) { |
| 552 | if (e instanceof CursorError) { |
no test coverage detected