結果 : javascript catch different types of errors