Example #1
0
 def echo(self, value):  # type: (Any) -> Any
     if value == u"exception":
         e = SystemException()
         e.details = value
         raise e
     return value
Example #2
0
 def echo(self, value: Any) -> Any:
     if value == "exception":
         e = SystemException()
         e.details = "exception"
         raise e
     return value
Example #3
0
 def echo(self, value: Any) -> Any:
     if value == "exception":
         e = SystemException()
         e.details = "exception"
         raise e
     return value