The documentation you are viewing is for an older version of this component.
Switch to the latest (v4) version.
Install dotkernel/dot-errorhandler
by executing the following Composer command:
composer require dotkernel/dot-errorhandler