Replies: 1 comment 1 reply
-
@davidbnk hey! I would not be against that, as that does seem useful. My only thought that is it seems like that a) they would be best suited to know "what is/is not a GRPC error" since they own the internal impl, and b) then it'd be included in the library instead being re-codegen-d for every file/project that ts-proto would generate. Maybe try getting this added to whatever runtime library that ts-proto is generating code on top of, and if they just don't want to accept/impl it, then yeah I wouldn't mind a PR that sneaks it into the ts-proto output as a helper method. |
Beta Was this translation helpful? Give feedback.
-
Wonder if it would be useful for this package to provide error types? Something like this:
Beta Was this translation helpful? Give feedback.
All reactions