Use the error generation method we have in `utilities`