Skip to content
Commit b13bd9b9 authored by eta's avatar eta
Browse files

More rigorous handling of WhatsApp error return codes

- WhatsApp sends responses of the form ((:status . 200)) (or whatever the code
  may be) whenever we perform an asynchronous operation.
- Previously, most of these were ignored. But now...
- These are represented as the STATUS-CODE-ERROR condition, which now contains a
  useful symbol that you can use to determine what type of asynchronous
  operation went wrong, and print some warning/informational message to let the
  user know that something might have not worked out.
- In cases where the status code returned relates to logging in, the LOGIN-ERROR
  subclass is used, and the connection is terminated.
parent 3b97e136
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment