2016-07-29 11:10:43 -07: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
|
|
|
|
*/
|
|
|
|
|
2017-01-25 23:26:49 -08:00
|
|
|
import {ParseError, ParseSourceSpan} from '../parse_util';
|
2016-07-29 11:10:43 -07:00
|
|
|
|
|
|
|
/**
|
|
|
|
* An i18n error.
|
|
|
|
*/
|
|
|
|
export class I18nError extends ParseError {
|
|
|
|
constructor(span: ParseSourceSpan, msg: string) { super(span, msg); }
|
|
|
|
}
|