Trying to use current_path in 404 template

The 404 template does not get current_path and current_url (this information cannot be determined).

Is it possible to determine the use of a template or path in such case where one cannot reference current_path

You can set a default value if current_path is not defined Tera

can you sir. worked very well.