Error Streams
appError$
Section titled “appError$”Triggers when a JavaScript error occurs within the application.
import { appError$ } from '@shopgate/engage/core';
subscribe(appError$, ({ action, dispatch, getState, prevState, events }) => { // The code you want to perform when the stream triggers.})Attention: The path to the old modules is deprecated and will be removed in ENGAGE v7:
import { appError$ } from '@shopgate/pwa-common/streams/error'
pipelineError$
Section titled “pipelineError$”Triggers when a pipeline throws an error.
import { pipelineError$ } from '@shopgate/engage/core';
subscribe(pipelineError$, ({ action, dispatch, getState, prevState, events }) => { // The code you want to perform when the stream triggers.})Attention: The path to the old modules is deprecated and will be removed in ENGAGE v7:
import { pipelineError$ } from '@shopgate/pwa-common/streams/error'

