-
I have read EitherBody doc and Middleware example. But I'm not sure whether I understood it correctly: It seems that I should use However, the code in ErrorHandlers example confused me because it used I cannot find the reason that why Could someone tell me when to use |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Okay, I misunderstood the example. type Response = ServiceResponse<EitherBody<B>>;
|
Beta Was this translation helpful? Give feedback.
Okay, I misunderstood the example.
left body
isB
andright body
is custom body.