Set up
go get github.com/lcbasu/pagerless-go/grpc@v0.2.0import pagerlessgrpc "github.com/lcbasu/pagerless-go/grpc"
srv := grpc.NewServer(pagerlessgrpc.ServerOptions()...)
conn, err := grpc.NewClient(addr, pagerlessgrpc.DialOptions()...)What it catches
- Server errors with code Unknown, Internal or DataLoss.
- Client calls that fail with Unavailable, DeadlineExceeded, Internal and similar.
- Status codes mapped to HTTP (Internal is 500), so floors like a 5xx burst apply.
Questions
Will NotFound or InvalidArgument alert?
No. Only server-side failures are reported.