when error go to error scene

hi all!
it’s possible if some error happens on my base scene load a error.scene that shows the error log?
I wish some ‘standard’ thing, 'cause I load some assets that may have some wrong things and wish not check everything, but load it, and in case of error, load the error.scene
thanks in advance!

The first question that comes to mind is, why not use the normal console to log errors?

But if you really want a custom scene to load when an error occurs and the error could occur in script, then you could use a try-catch block to catch any error that occurs: Exception-handling statements - throw and try, catch, finally - C# reference | Microsoft Learn

Then you could create a gameobject with a script that logs the error information (use DontDestroyOnLoad) and then load an error scene that outputs any info from that object.