結果 : custom error handling in javascript