(msg: string, span: ParseSourceSpan)
| 527 | } |
| 528 | |
| 529 | private _createError(msg: string, span: ParseSourceSpan): ParseError { |
| 530 | if (this._isInExpansionForm()) { |
| 531 | msg += ` (Do you have an unescaped "{" in your template? Use "{{ '{' }}") to escape it.)`; |
| 532 | } |
| 533 | const error = new ParseError(span, msg); |
| 534 | this._currentTokenStart = null; |
| 535 | this._currentTokenType = null; |
| 536 | return error; |
| 537 | } |
| 538 | |
| 539 | private handleError(e: any) { |
| 540 | if (e instanceof CursorError) { |
no test coverage detected