Open naggingant opened 4 years ago
On RPCs, we should make sure these errors would not trigger retries and the message should be (negatively, when appropriate) acknowledged immediately:
TypeError
RangeError
ReferenceError
SyntaxError
assert.AssertionError
https://github.com/openrm/hato/blob/aff5a27/plugins/retry/errors.js#L31
See also https://nodejs.org/api/errors.html
On RPCs, we should make sure these errors would not trigger retries and the message should be (negatively, when appropriate) acknowledged immediately:
TypeError
RangeError
ReferenceError
SyntaxError
assert.AssertionError
https://github.com/openrm/hato/blob/aff5a27/plugins/retry/errors.js#L31
See also https://nodejs.org/api/errors.html