setExecutionResultError()
Home > @gooddata/sdk-ui-dashboard > setExecutionResultError
setExecutionResultError() function
This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Creates an UpsertExecutionResult command that makes the relevant execution result indicate an error and stop loading.
Signature:
export declare function setExecutionResultError(id: ObjRef | string, error: GoodDataSdkError, correlationId?: string): UpsertExecutionResult;
Parameters
Parameter | Type | Description |
---|---|---|
id | ObjRef | string | |
error | GoodDataSdkError | |
correlationId | string | (Optional) |
Returns: