16 Commits
Author SHA1 Message Date
AlexandGitHub 19ed400416 Adding two new error codes along with their conversion to http codes (#109) 2025-10-21 16:50:41 -07:00
Paul WellsandGitHub c8bd2dcb0b generate unimplemented psrpc server (#108) 2025-09-10 17:12:30 -07:00
Benjamin PrachtandGitHub b1be172cd6 Add UnprocessableEntity (#107) 2025-08-28 16:58:57 -07:00
Denys SmirnovandGitHub 0d3b81f3d1 Properly consider gRPC error statuses when retrying. (#105) 2025-07-24 19:18:01 +03:00
Denys SmirnovandGitHub 5dca65aacb Fix gRPC error propagation. (#102) 2025-02-04 23:23:39 +02:00
Denys SmirnovandGitHub 2a293dac9e Allow passing custom error details, similar to gRPC. (#101) 2025-01-29 18:19:55 +02:00
David ColburnandGitHub 248dc5f10f 503 for timeout errors (#98) 2024-09-23 21:07:58 -04:00
Paul WellsandGitHub eaebff449f reuse one redis client for all subscriptions (#74)
* reuse one redis client for all subscriptions

* update deps

* update deps

* update deps

* update go

* test

* naming

* parallelize publish ops
2023-11-12 23:57:19 -08:00
David ZhaoandGitHub b9d96f15f1 Added license headers (#66) 2023-07-27 16:16:48 -07:00
Benjamin PrachtandGitHub 7769956827 Add not acceptable error (#61) 2023-05-18 16:43:41 -07:00
Paul WellsandGitHub 110c3a52f9 include error code in unwrapped psrpc errors (#59) 2023-05-02 08:21:50 -07:00
David ColburnandGitHub 3a3a2a935f Refactor (#55)
* checkpoint

* cleaned up streams

* clean up multi rpcs

* clean up rpc

* service definition, fix stream bug

* fix #54

* updates

* version bump
2023-04-21 11:14:02 -07:00
Benjamin PrachtandGitHub 9564208411 Change ToGrpc signature to work automatically with GPRPC servers (#23)
With this change, returning a psrpc error in a grpc handler will allow the grpc machinery to interpret the error natively and set the response code appropriately.
2023-02-15 16:55:06 -08:00
Benjamin PrachtandGitHub e3137eaac5 Impement As in psrpc.Error (#10) 2023-01-17 14:26:29 -08:00
Benjamin PrachtandGitHub 86e12055e5 Add Unwrap to psrpcError and use errors.As (#9) 2023-01-16 20:17:57 -08:00
David ColburnandGitHub 11505088f6 Errors (#7)
* Errors

* NewErrorf

* missed a test .psrpc.go file

* error logger interceptor

* consistency

* update interceptor test

* WithServerErrorLogger too specific

* add rpc info to server interceptors
2023-01-13 03:26:21 +09:00