🎉 Add comments to viewer.

This commit is contained in:
Andrey Antukh 2020-11-18 17:36:14 +01:00 committed by Alonso Torres
parent e1db6d3a37
commit 64a6ba1949
45 changed files with 1629 additions and 1074 deletions

View file

@ -31,11 +31,14 @@
(rx/throw {:type :authorization
:code :not-authorized})
(= (:status response) 404)
(rx/throw (:body response))
(= 0 (:status response))
(rx/throw {:type :offline})
:else
(rx/throw {:type :internal-error
(rx/throw {:type :server-error
:status (:status response)
:body (:body response)})))