ErrorPageMethod

typealias ErrorPageMethod = @Composable (Int) -> Unit(source)

Typealias for a composable method which takes an error code as its first and only argument (e.g. 404).

Use Router.setErrorHandler to override with your own custom handler.