UNPKG

@itwin/appui-abstract

Version:
24 lines 1.12 kB
"use strict"; /*--------------------------------------------------------------------------------------------- * 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 */ Object.defineProperty(exports, "__esModule", { value: true }); exports.UiError = void 0; const core_bentley_1 = require("@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. */ class UiError extends core_bentley_1.BentleyError { category; /** Constructs UiError using BentleyError. */ constructor(category, message, errorNumber = core_bentley_1.BentleyStatus.ERROR, getMetaData) { super(errorNumber, message, getMetaData); this.category = category; } } exports.UiError = UiError; //# sourceMappingURL=UiError.js.map