setErrorHandler

fun setErrorHandler(layoutId: String? = "", errorPageMethod: ErrorPageMethod)(source)

Deprecated

Use `setErrorPage` instead. This old method required you take in a numeric value representing the error code, but it was always 404, so by moving towards a more standard format (that takes a `PageContext` as its main argument), we can simplify the codebase.