@itwin/appui-abstract
Version:
iTwin.js UI abstractions
20 lines • 978 B
JavaScript
/*---------------------------------------------------------------------------------------------
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
* See LICENSE.md in the project root for license terms and full copyright notice.
*--------------------------------------------------------------------------------------------*/
/** @packageDocumentation
* @module Utilities
*/
import { BentleyError, BentleyStatus } from "@itwin/core-bentley";
/** iTwin.js UI UiError class is a subclass of BentleyError. Errors are logged.
* @public @deprecated in 4.3 - will not be removed until after 2026-06-13. Use [[Bentley.BentleyError]] instead.
*/
export class UiError extends BentleyError {
category;
/** Constructs UiError using BentleyError. */
constructor(category, message, errorNumber = BentleyStatus.ERROR, getMetaData) {
super(errorNumber, message, getMetaData);
this.category = category;
}
}
//# sourceMappingURL=UiError.js.map