text: /**
   * @fileoverview added by tsickle
   * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
   */
  /**
   * @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
   */
  /**
   * Throws an exception for the case when menu trigger doesn't have a valid mat-menu instance
   * \@docs-private
   * @return {?}
   */
  export function throwMatMenuMissingError() {
      throw Error("matMenuTriggerFor: must pass in an mat-menu instance.\n\n    Example:\n      <mat-menu #menu=\"matMenu\"></mat-menu>\n      <button [matMenuTriggerFor]=\"menu\"></button>");
  }
  /**
   * Throws an exception for the case when menu's x-position value isn't valid.
   * In other words, it doesn't match 'before' or 'after'.
   * \@docs-private
   * @return {?}
   */
  export function throwMatMenuInvalidPositionX() {
      throw Error("xPosition value must be either 'before' or after'.\n      Example: <mat-menu xPosition=\"before\" #menu=\"matMenu\"></mat-menu>");
  }
  /**
   * Throws an exception for the case when menu's y-position value isn't valid.
   * In other words, it doesn't match 'above' or 'below'.
   * \@docs-private
   * @return {?}
   */
  export function throwMatMenuInvalidPositionY() {
      throw Error("yPosition value must be either 'above' or below'.\n      Example: <mat-menu yPosition=\"above\" #menu=\"matMenu\"></mat-menu>");
  }
  //# sourceMappingURL=menu-errors.js.map