How to throw a error in a middleware and catch it on parent middleware
I have 2 middleware like the image, but A middleware is not catching anything and the Error is sending to client but it fails because a class is not serializable
g [Error]: The value [object Object] of type "object" cannot be parsed/serialized.
g [Error]: The value [object Object] of type "object" cannot be parsed/serialized.
