yajsapi / Exports / rest/common
▸ is_intermittent_error(e
): boolean
Parameters
Name | Type |
---|---|
e |
any |
Returns
boolean
Defined in
▸ repeat_on_error(block
, max_tries?
, max_duration_ms?
, interval_ms?
, condition?
): Promise
Parameters
Name | Type | Default value |
---|---|---|
block |
default | undefined |
max_tries |
number |
5 |
max_duration_ms |
number |
15000 |
interval_ms |
number |
1000 |
condition |
default | undefined |
Returns
Promise
Defined in
▸ suppress_exceptions(condition
, block
, report_exceptions?
): Promise
Parameters
Name | Type | Default value |
---|---|---|
condition |
default | undefined |
block |
default | undefined |
report_exceptions |
boolean |
true |
Returns
Promise
Defined in