MCPcopy Create free account
hub / github.com/microsoft/SandDance / loadError

Method loadError

docs/app/js/sanddance-app.js:51458–51472  ·  view source on GitHub ↗
(dataSource)

Source from the content-addressed store, hash-verified

51456 }
51457 }
51458 loadError(dataSource) {
51459 let error = this.dataSourceError(dataSource);
51460 this.explorer.setState({
51461 errors: [
51462 error
51463 ]
51464 });
51465 this.setState({
51466 dataSource: {
51467 dataSourceType: null,
51468 id: null,
51469 type: null
51470 }
51471 });
51472 }
51473 updateExplorerViewerOptions(viewerOptions) {
51474 this.viewerOptions = viewerOptions;
51475 this.explorer && this.explorer.updateViewerOptions(this.viewerOptions);

Callers 2

hydrateSnapshotMethod · 0.95
renderMethod · 0.95

Calls 1

dataSourceErrorMethod · 0.95

Tested by

no test coverage detected