mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-21 05:41:43 +03:00
23 lines
446 B
Plaintext
23 lines
446 B
Plaintext
|
:: Possibly non-fatal http error
|
||
|
::
|
||
|
:::: /hoon/recoverable-error/mar
|
||
|
::
|
||
|
/- recoverable-error
|
||
|
!:
|
||
|
:::: ~fyr
|
||
|
::
|
||
|
|_ 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)) poja ni:jo))
|
||
|
==
|
||
|
--
|
||
|
++ grow |% ++ tank >[+<]< --
|
||
|
--
|