You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 10, 2025. It is now read-only.
Chad Shurtz edited this page Aug 30, 2016
·
1 revision
Any application should be robust in dealing with unexpected errors, and OneNoteApi is no different. Each one of OneNoteApi's methods returning a Promise could reject with a RequestError object. This happens when an unexpected HTTP code is encountered (such as one as a result of a server error, or the result of bad parameters being passed to the API).