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 has been archived by the owner on May 29, 2023. It is now read-only.
Currently, two types of data may result from a get() or search() Promise that's rejected:
If a request is submitted to the Cantus server and the response code is not 200, the Promise is rejected with an object having the following members: code, reason, response.
If there is an exception before the request is submitted, the Promise is rejected with a string.
If every Promise rejection used the three-member object described in the first point, error handling in client applications would be easier. We could use zero for the "code" when there's an exception.
The text was updated successfully, but these errors were encountered:
Currently, two types of data may result from a
get()
orsearch()
Promise that's rejected:If every Promise rejection used the three-member object described in the first point, error handling in client applications would be easier. We could use zero for the "code" when there's an exception.
The text was updated successfully, but these errors were encountered: