June 28, 2017
I can't understand why follow code is crushing:

string error = "503 Server error!";
int error_code = 503;
res.render!("error.dt", error, error_code);

on res string (last in code above) I am getting error:
CoreTaskFiber was terminated unexpectedly: Access Violation

error.dt http://paste.code123.org/91ea2dc1-7396

If delete part:
div.errorPageText #{error}
div.errorPageImg
	- if (error_code == 404)
		img(src='img/error_404.png')
	- else
		img(src='img/error_503.png')

All work fine. It's seems that something wrong with args `error, error_code`.




June 28, 2017
It's look like issue in another part of code...