create errors package and link in