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