23 lines
700 B
TypeScript
23 lines
700 B
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.dev/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.');
|
|
}
|