UiError Class

iModel.js UI UiError class is a subclass of BentleyError. Errors are logged.

Extends

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.
message string Error  
name string Error  
stack undefined | string Error  

Defined in

Last Updated: 20 September, 2019