Exceptions
Expecting the Exceptions
Error Format
Most of the APIs have a defined format in which they return errors. This contract helps the API consumers in handling the errors.
At m.Paani, we too have a contract for raising errors. The API sends a JSON list …