Modify the given Python code to handle errors more precisely.
try:
    a = 5 / 0
except Exception as error:
    print(error)
try:
    a = 5 / 0
except ZeroDivisionError as error:
    print(error)
except Exception as error:
    print(error)