angular-cn/packages/compiler/src/i18n/parse_util.ts

17 lines
408 B
TypeScript
Raw Normal View History

2016-07-29 14:10:43 -04:00
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
import {ParseError, ParseSourceSpan} from '../parse_util';
2016-07-29 14:10:43 -04:00
/**
* An i18n error.
*/
export class I18nError extends ParseError {
constructor(span: ParseSourceSpan, msg: string) { super(span, msg); }
}