Skip to content

Improved error handling

Compare
Choose a tag to compare
@CodeStage CodeStage released this 15 Jan 13:39
· 29 commits to master since this release

In case of errors the API sends an error object. We have changed the FigoError type to pass that through in error cases.

It contains a code identifying the error and a couple of strings describing the problem. See http://docs.figo.io/#error-handling for details.