Error

sealed class Error

Instance of Error will be returned when Result.Failed

Parameters

message

Message what went wrong, Default Value: null

e

It provides traceback, Default Value: null

Types

Link copied to clipboard
class Instagram404Error(val isCookiesUsed: Boolean) : Error

Sometimes unexpectedly instagram returns 404 ERROR even for public post

Link copied to clipboard
class InternalError(val message: String, val e: Exception? = null) : Error

Report this kind of error to VidSnapKit developer

Link copied to clipboard

Called when cookies are invalid

Link copied to clipboard
object InvalidUrl : Error

Called When Url is empty

Link copied to clipboard

Called when cookies are null but required by website

Link copied to clipboard

The current extractor missing some of its extraction logic for the given url

Link copied to clipboard
class NonFatalError(val message: String) : Error

These are minor error happens in cases such as post not found

Properties

Link copied to clipboard
val e: Exception? = null
Link copied to clipboard
val message: String? = null

Inheritors

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard