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