I was getting the error in the latest version of Craft 3 (not sure if this happened previously):
Error: Class 'ournameismud\fractal\TemplateLoaderException' not found in /chroot/home/sitename/vendor/ournameismud/fractal/src/Fractal.php:214
Adding use craft\web\twig\TemplateLoaderException; fixed the issue for me.
I additionally converted the tabs in the document to spaces since both were in there and it looked pretty weird for me.
I was getting the error in the latest version of Craft 3 (not sure if this happened previously):
Error: Class 'ournameismud\fractal\TemplateLoaderException' not found in /chroot/home/sitename/vendor/ournameismud/fractal/src/Fractal.php:214
Adding
use craft\web\twig\TemplateLoaderException;
fixed the issue for me. I additionally converted the tabs in the document to spaces since both were in there and it looked pretty weird for me.