UNPKG

@itwin/appui-abstract

Version:
20 lines 974 B
/*--------------------------------------------------------------------------------------------- * 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 - might be removed in next major version. 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