meta data for this page
This is an old revision of the document!
tinyrpc
exception
By default dispatcher catches all exceptions in registered methods: https://github.com/mbr/tinyrpc/blob/1.1.4/tinyrpc/dispatch/__init__.py#L266
except Exception as e: # an error occurred within the method, return it return request.error_respond(e)
and exception e
is wrapped as RPC error response: