BentoML icon indicating copy to clipboard operation
BentoML copied to clipboard

grpc: exception handling

Open aarnphm opened this issue 3 years ago • 0 comments

Feature request

Exception raised via IO descriptor should be ValueError instead of currently implemented InvalidArgument.

Since InvalidArgument eventually end up throwing a server error, this would be a bit awkward when handling exception on the client side. If these error happens during server runtime, then we should raise Server exception there.

Motivation

No response

Other

No response

aarnphm avatar Sep 12 '22 22:09 aarnphm