GetMetaDataFunction Type

GetMetaDataFunction = () => object | undefined

A function that returns a metadata object for a BentleyError. This is generally used for logging. However not every exception is logged, so use this if the metadata for an exception is expensive to create.

Defined in

Last Updated: 14 November, 2024