DbQueryError Class
Extends
Methods
| Name |
Description |
|
| constructor(response: any, request?: any, rc?: DbResult): DbQueryError |
|
|
| throwIfError(response: any, request?: any): void Static |
|
|
Inherited methods
| Name |
Inherited from |
Description |
| _initName(): string Protected |
BentleyError |
This function returns the name of each error status. |
| getMetaData(): undefined | object |
BentleyError |
get the meta data associated with this BentleyError, if any. |
| getErrorMessage(error: unknown): string Static |
BentleyError |
Use run-time type checking to safely get a useful string summary of an unknown error value, or "" if none exists. |
| getErrorMetadata(error: unknown): undefined | object Static |
BentleyError |
Use run-time type checking to safely get the metadata with an unknown error value, if possible. |
| getErrorProps(error: unknown): ErrorProps Static |
BentleyError |
Returns a new ErrorProps object representing an unknown error value. |
| getErrorStack(error: unknown): undefined | string Static |
BentleyError |
Use run-time type checking to safely get the call stack of an unknown error value, if possible. |
| getMetaData(metaData: LoggingMetaData): undefined | object Static |
BentleyError |
get the metadata object associated with an ExceptionMetaData, if any. |
Properties
| Name |
Type |
Description |
|
| request Readonly |
undefined | any |
|
|
| response Readonly |
any |
|
|
Inherited properties
Defined in
Last Updated:
30 November, 2023