From b75dd26df8ad5e1032e4985102e87dc9941e50cc Mon Sep 17 00:00:00 2001 From: Jay Ohms Date: Wed, 28 Feb 2024 08:35:44 -0500 Subject: [PATCH] Delete no longer needed error type --- .../turbo/visit/TurboVisitErrorType.kt | 29 ------------------- 1 file changed, 29 deletions(-) delete mode 100644 turbo/src/main/kotlin/dev/hotwire/turbo/visit/TurboVisitErrorType.kt diff --git a/turbo/src/main/kotlin/dev/hotwire/turbo/visit/TurboVisitErrorType.kt b/turbo/src/main/kotlin/dev/hotwire/turbo/visit/TurboVisitErrorType.kt deleted file mode 100644 index 602a8fba..00000000 --- a/turbo/src/main/kotlin/dev/hotwire/turbo/visit/TurboVisitErrorType.kt +++ /dev/null @@ -1,29 +0,0 @@ -package dev.hotwire.turbo.visit - -enum class TurboVisitErrorType { - /** - * Represents an error when Turbo and the javascript adapter fails to - * load on the page. - */ - LOAD_ERROR, - - /** - * Represents an error received from your server with an HTTP status code. - * The code corresponds to the status code received from your server. - */ - HTTP_ERROR, - - /** - * Represents an [androidx.webkit.WebResourceErrorCompat] error received - * from the WebView when attempting to load the page. The code corresponds - * to one of the ERROR_* constants in [androidx.webkit.WebViewClientCompat]. - */ - WEB_RESOURCE_ERROR, - - /** - * Represents an [android.net.http.SslError] error received from the WebView - * when attempting to load the page. The code corresponds to one of the - * SSL_* constants in [android.net.http.SslError]. - */ - WEB_SSL_ERROR -}