Now all errors we throw are custom, and the tests have been updated to reflect that.