GoodDataSdkError
Base class for all anticipated GoodData.UI SDK errors.
export declare abstract class GoodDataSdkError extends Error
Extends: Error
Properties
Property | Modifiers | Type | Description |
|---|---|---|---|
| any | (Optional) | |
|
Methods
Method | Modifiers | Description |
|---|---|---|
Underlying cause of this error (if any). | ||
Error code for this exception. | ||
Provides description of the problem or one of ErrorCodes. |
Property details
GoodDataSdkError.causeproperty
readonly cause?: any;
GoodDataSdkError.seTypeproperty
readonly seType: SdkErrorType;
Method details
GoodDataSdkError.getCause()method
Underlying cause of this error (if any).
getCause(): any;
Returns
any
GoodDataSdkError.getErrorCode()method
Error code for this exception.
getErrorCode(): string;
Returns
string
Remarks
This can be used to identify exact type of exception.
GoodDataSdkError.getMessage()method
Provides description of the problem or one of ErrorCodes.
getMessage(): string;
Returns
string