結果 : how to print error object in javascript