android-components / mozilla.components.browser.errorpages / ErrorPages / createErrorPage

createErrorPage

fun createErrorPage(context: Context, errorType: ErrorType, @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