ITwinError Interface
An interface used to describe an error for a developer/application. The message is not intended to be displayed to an end user. This error interface should be extended when needing to throw errors with extra properties defined on them. See InUseLocksError for an example.
Extends
- Error
Properties
Name | Type | Description | |
---|---|---|---|
errorKey | string | unique key for error, within namespace. | |
string | explanation of what went wrong. | ||
metadata | LoggingMetaData | undefined | metadata about the exception. | |
namespace | string | namespace for the error. | |
stack | string | undefined | stack trace of the error. |
Defined in
- core/common/src/ITwinError.ts Line 64
Last Updated: 28 March, 2025
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.