Change 'errors' folder location to root location

I have problems withs 'errors' folder. The __DIR__ return the 
'src' folder, and the errors folder is a level above to the src folder. Any other solution?