move errors into error directory in src