moves exception classes to error.py
Signed-off-by: Sho Nakatani <lay.sakura@gmail.com>