結果 : create a custom error in javascript