This won't actually return anything but a server error (you can test by making it always return so just to see what it does..). 

It won't be the prettiest, but we usually just do "die" in this case.