dtkt / errors
DtKt errors views module
Installs: 14
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/dtkt/errors
Requires
- rabbitcms/modules: ^2.1
This package is auto-updated.
Last update: 2025-09-29 02:28:15 UTC
README
Need to override method registerErrorViewPaths
in your App\Exceptions\Handler
class.
protected function registerErrorViewPaths() { $paths = collect(config('view.paths')); View::addNamespace('errors', $paths->map(function ($path) { return "{$path}/errors"; })->push(dirname((new \ReflectionClass(\Illuminate\Foundation\Exceptions\Handler::class))->getFileName()).'/views')->all()); }