ringcentral / ringcentral-python

RingCentral Connect Platform Python SDK
MIT License
44 stars 35 forks source link

Return ringcentral error code #28

Closed zxdong262 closed 5 years ago

zxdong262 commented 5 years ago

like SUB-406 etc, not just error message.

kirill-konshin commented 5 years ago

You can read much more info from error message: https://github.com/ringcentral/ringcentral-python/blob/master/ringcentral/http/api_exception.py#L22 this method will provide you the entire response. Message is just a simplest form that you can display to users.