agent-js
agent-js copied to clipboard
Move all usage of `Error(...)` to custom error classes
To cut corners we didn't really use custom error classes (because they require more coding and thinking then just textual errors), but after the launch and at the current state of the Agent JS it is time to start considering them.
Another advantage is that we will be able to replace strings with numbers when we can.
#508 continues this effort