detectErrorBoundary