rename subpackage errors to error.