adds section on creating a custom error controller

as the title says