An interceptor function.
Call next() to proceed to the next interceptor (or the handler). Return the result — you can transform it before returning. Throw to abort the call (the error propagates to the caller).
next()
An interceptor function.
Call
next()to proceed to the next interceptor (or the handler). Return the result — you can transform it before returning. Throw to abort the call (the error propagates to the caller).