-
Notifications
You must be signed in to change notification settings - Fork 791
Open
Labels
Description
Hi there
Server side, we send an error withDetails (in GO) :
st2 := status.New(codes.Aborted, "failed to map")
st2.WithDetails(&Error{
Code: 1,
Message: "error",
})
Client side (js / typescript), we need to retrieve these details somehow but all we receive is a serialized string (trailers.get('grpc-status-details-bin')
) .. how can we decode it ?
Thanks
jbeder, stprtnrsltd, dmitry-zaitsev, autowp, Sharsie and 7 more