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

  • core/bentley/lib/cjs/BentleyError.d.ts Line 282

Last Updated: 06 November, 2024