method

use

Method not available on this version

This method is only available on newer versions. The first available version (v8.1.1) is shown here.

use(middleware)
public

Add a middleware to the error context stack.