Add generic error page for misconfiguration

Fixes #51

Add an error message in case of InvalidArgumentException to help debugging messy configuration