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.
BentleyError Return the meta data associated with this BentleyError.

Inherited properties

Name Type Inherited from Description
errorNumber number BentleyError  
boolean BentleyError Returns true if this BentleyError includes (optional) meta data.

Defined in

Last Updated: 11 June, 2024