Use error package.