added support for custom error pages

Closes #32 
Should this be `x.x.x`?