The example http views all extend errors::illustrated-layout not errors::layout e.g.
@extends('errors::illustrated-layout')
...
The view is loaded by the framework from this function iirc
So you will need to pass in the required view data to prevent the error your getting and based on what you havdcshown this should work.
return view('errors.token', [
'errors' => new ViewErrorBag,
]);