constructor Method
BentleyError(errorNumber: number, message?: string, metaData?: LoggingMetaData): BentleyError
| Parameter | Type | Description | 
|---|---|---|
| errorNumber | number | The a number that identifies of the problem. | 
| string | message that describes the problem (should not be localized). | |
| metaData | LoggingMetaData | metaData about the exception. | 
Returns - BentleyError
Defined in
- core/bentley/lib/cjs/BentleyError.d.ts Line 304
Last Updated: 10 June, 2025
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.