remove deprecation errors: change Control.Monad.Error to Control.Monad.Except