結果 : how can you handle errors in asynchronous javascript code when using promises