Deprecating success/error in favor of then/catch