use(middleware)
public

Add a middleware to the error context stack.