public function render(): Response 	{ 		if (request()->wantsJson()) {	// Handle API exceptions by aborting 			abort($this->getCode(), $this->getMessage()); 		}  		return response()->view('layouts.surveys.error_page', [	// Handle WEB exceptions via custom error page 			'exception' => $this, 		]); 	}