結果 : throw new error vs console.error