throw new Error() instead of a string