Skip to content

v0.7.3

Compare
Choose a tag to compare
@lucaswerkmeister lucaswerkmeister released this 11 Apr 17:33
· 64 commits to main since this release

Custom error handler support for m3api-oauth2.

  • The new errorHandlers option can be used to customize error handling. It is only part of the internal interface, not of the stable, public interface. Using this options, extension packages or end users can register handlers for certain API error codes; the handlers can e.g. perform necessary cleanup actions and/or retry the request. The existing support for retrying after maxlag, readonly or badtoken errors is now also internally implemented in terms of this new option.
  • Updated dependencies.