the type 'error' is not required here and golint will ask for it to be removed.