js-waku
js-waku copied to clipboard
feat(filter)!: return error codes instead of throwing errors
Problem
The Filter implementation currently throws
Error
to handle non-success scenarios.
This needs a change to using error codes instead: #1694
Solution
Move all throw
s to returning error codes
Notes
- Related to #1694