MCPcopy Create free account
hub / github.com/OneNoteDev/WebClipper / setFailureInfo

Method setFailureInfo

src/scripts/logging/submodules/event.ts:247–249  ·  view source on GitHub ↗

* Set this PromiseEvent's FailureInfo to a copy of the GenericError passed in * (copy to prevent altering of class internals without this setter)

(failureInfo: OneNoteApi.GenericError)

Source from the content-addressed store, hash-verified

245 * (copy to prevent altering of class internals without this setter)
246 */
247 public setFailureInfo(failureInfo: OneNoteApi.GenericError): void {
248 this._failureInfo = ErrorUtils.clone(failureInfo);
249 }
250
251 public getFailureType(): string {
252 return Failure.Type[this._failureType];

Callers 15

handleSignInMethod · 0.95
bookmarkPageMethod · 0.95
initializeUserFlightingFunction · 0.95
updateUserInfoDataMethod · 0.95
invokeWhatsNewTooltipFunction · 0.95
invokeTooltipFunction · 0.95
getLocalizedStringsFunction · 0.95
testsMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected