ipsos-components
Version:
Material Design components for Angular
23 lines (19 loc) • 721 B
text/typescript
/**
* @license
* Copyright Google LLC 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
*/
/** @docs-private */
export function getMatFormFieldPlaceholderConflictError(): Error {
return Error('Placeholder attribute and child element were both specified.');
}
/** @docs-private */
export function getMatFormFieldDuplicatedHintError(align: string): Error {
return Error(`A hint was already declared for 'align="${align}"'.`);
}
/** @docs-private */
export function getMatFormFieldMissingControlError(): Error {
return Error('mat-form-field must contain a MatFormFieldControl.');
}