結果 : how to print error type in python