error() expects a string, not the full exception (sorry, didn't docstring those methods).