API Reference > ui-abstract > Utilities > UiError UiError Class iModel.js UI UiError class is a subclass of BentleyError. Errors are logged. Extends BentleyError Methods Name Description constructor(category: string, message: string, errorNumber: number = BentleyStatus.ERROR, log: LogFunction = Logger.logError, getMetaData?: GetMetaDataFunction): UiError Constructs UiError using BentleyError. Inherited methods Name Inherited from Description _initName(): string Protected BentleyError This function returns the name of each error status. getMetaData(): any BentleyError Return the meta data associated with this BentleyError. Inherited properties Name Type Inherited from Description errorNumber number BentleyError hasMetaData Accessor ReadOnly boolean BentleyError Returns true if this BentleyError includes (optional) meta data. Defined in ui/abstract/src/ui-abstract/utils/UiError.ts Line 14 Last Updated: 11 June, 2024