Skip to content
Snippets Groups Projects
Commit 7fc77e06 authored by Jan Tattermusch's avatar Jan Tattermusch
Browse files

Merge pull request #4139 from grpc/release-0_11

Merge release-0_11 into master
parents f3923f03 8e269cfd
No related branches found
No related tags found
No related merge requests found
...@@ -117,6 +117,10 @@ class AbortionError(Exception): ...@@ -117,6 +117,10 @@ class AbortionError(Exception):
self.code = code self.code = code
self.details = details self.details = details
def __str__(self):
return '%s(code=%s, details="%s")' % (
self.__class__.__name__, self.code, self.details)
class CancellationError(AbortionError): class CancellationError(AbortionError):
"""Indicates that an RPC has been cancelled.""" """Indicates that an RPC has been cancelled."""
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment