MCPcopy Index your code
hub / github.com/atomicdata-dev/atomic-data-browser / setError

Method setError

lib/src/resource.ts:324–326  ·  view source on GitHub ↗

Sets the error on the Resource. Does not Throw.

(e: Error)

Source from the content-addressed store, hash-verified

322
323 /** Sets the error on the Resource. Does not Throw. */
324 setError(e: Error): void {
325 this.error = e;
326 }
327
328 /** Set the Subject / ID URL of the Resource. Does not update the Store. */
329 setSubject(subject: string): void {

Callers 2

fetchResourceFunction · 0.95
parseJsonADResourceFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected