Skip to content

Commit cf1bf6b

Browse files
committed
update: added new errors
1 parent 1493e1b commit cf1bf6b

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

  • core/src/main/java/com/fpf/smartscansdk/core

core/src/main/java/com/fpf/smartscansdk/core/Errors.kt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,10 @@ sealed class SmartScanException(message: String, cause: Throwable? = null) : Exc
1818

1919
class ModelDownloadFailed(message: String = "Failed to download model") :
2020
SmartScanException(message)
21+
22+
class InvalidModelType(message: String = "Invalid model type") :
23+
SmartScanException(message)
24+
25+
class ModelNotDownloaded(message: String = "Model not downloaded") :
26+
SmartScanException(message)
2127
}

0 commit comments

Comments
 (0)