These should be `toThrowDeveloperError`