matrix-js-sdk
9797e602 - exclude aborted requests and matrix errors when creating connectionerror

Comment changes are shownComment changes are hidden
Commit
5 years ago
exclude aborted requests and matrix errors when creating connectionerror - throw an AbortError when aborting is detected - don't turn AbortError's into a ConnectionError - also consider the string "aborted" an AbortError for unit tests - unit tests like to reject the request with a MatrixError, so exclude those too
Author
Committer
Parents
  • spec/integ
    • File
      matrix-client-opts.spec.js
  • src
    • File
      http-api.js