fun createErrorPage(context: Context, errorType: ErrorType, uri: String? = null, @RawRes htmlResource: Int = R.raw.error_pages, @RawRes cssResource: Int = R.raw.error_style): String
(source)
Load and generate error page for the given error type and html/css resources