Now it parses to right error representation. Also fix that right
exception for error is not thrown on api call.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
As generic error can provide different reasons, it is worth to add received message to displayed error text.
Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>