Skip to content

Version 11.0.0

Compare
Choose a tag to compare
@KarlMae KarlMae released this 15 May 11:00
· 211 commits to master since this release
5b0637f

Fix for error handling:

Some endpoints were not correctly forwarding errors as the error interface in the API had changed.

Added 3 error types: SimpleError, ComplexError and UnknownError.
Now all the errors from Qminder calls can be checked against one of the provided error types and then be handled accordingly.

Migration guide:

Some endpoints that forwarded the first error from the response error object to the message do not do that anymore. Check for usages of error.message and if they still provide the necessary error message. If the error message has changed, use the proper message from the error object.