MCPcopy Create free account
hub / github.com/breck7/scroll / toObject

Method toObject

external/.scrollLibs.js:18951–18960  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

18949 return 0
18950 }
18951 toObject() {
18952 return {
18953 type: this.errorTypeName,
18954 line: this.lineNumber,
18955 atom: this.atomIndex,
18956 suggestion: this.suggestionMessage,
18957 path: this.getParticle().getCuePath(),
18958 message: this.message
18959 }
18960 }
18961 hasSuggestion() {
18962 return this.suggestionMessage !== ""
18963 }

Callers

nothing calls this directly

Calls 2

getParticleMethod · 0.95
getCuePathMethod · 0.80

Tested by

no test coverage detected