Throw errors instead of console.error