Code

Use the 'page' type in the error handler as well.