urbit/mar/recoverable-error.hoon

31 lines
555 B
Plaintext
Raw Normal View History

:: Possibly non-fatal http error
::
:::: /hoon/recoverable-error/mar
::
/- recoverable-error
2016-11-17 04:42:58 +03:00
::
:::: ~fyr
::
2016-11-17 04:30:39 +03:00
=, ^eyre
=, format
=, html
|_ recoverable-error
++ grab
|%
++ noun recoverable-error
++ httr
|= a/^httr ^- recoverable-error
~! a
?+ p.a ~|(non-recoverable+p.a !!)
$429 :+ p.a %rate-limit
%. %x-rate-limit-reset
;~ biff
~(get by (malt q.a))
de-json
ni:dejs-soft
==
==
--
++ grow |% ++ tank >[+<]< --
--