Reverted to Control.Monad.Error