aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/python/grpcio
diff options
context:
space:
mode:
authorGravatar Jan Tattermusch <jtattermusch@users.noreply.github.com>2015-11-18 00:22:04 +0000
committerGravatar Jan Tattermusch <jtattermusch@users.noreply.github.com>2015-11-18 00:22:04 +0000
commit7fc77e06ba5becaebb66aa3d83b5bf7d26a94ddc (patch)
treea8eb8148b8acec7675401fbf615c2492519f5591 /src/python/grpcio
parentf3923f031671894edc9a2b35409a0bf8066debfa (diff)
parent8e269cfd62836422a27c989464e3530b231ea524 (diff)
Merge pull request #4139 from grpc/release-0_11
Merge release-0_11 into master
Diffstat (limited to 'src/python/grpcio')
-rw-r--r--src/python/grpcio/grpc/framework/interfaces/face/face.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/python/grpcio/grpc/framework/interfaces/face/face.py b/src/python/grpcio/grpc/framework/interfaces/face/face.py
index bc9a434a76..3b402356d2 100644
--- a/src/python/grpcio/grpc/framework/interfaces/face/face.py
+++ b/src/python/grpcio/grpc/framework/interfaces/face/face.py
@@ -117,6 +117,10 @@ class AbortionError(Exception):
self.code = code
self.details = details
+ def __str__(self):
+ return '%s(code=%s, details="%s")' % (
+ self.__class__.__name__, self.code, self.details)
+
class CancellationError(AbortionError):
"""Indicates that an RPC has been cancelled."""