* 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)
| 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]; |
no outgoing calls
no test coverage detected