VCBossError
public enum VCBossError: Error, LocalizedError
Errors that VCBoss can throw.
-
If you try to dismiss a UIViewController that was never presented using VCBoss. You either forgot to present it, or you used
self.present()
instead ofself.vcboss.present()
to present the UIViewController.Declaration
Swift
case dismissViewControllerNeverPresented
-
If you try to dismiss a UIViewController that was not presented modally, this error is thrown. This UIViewController does not have an instance of
presentingViewController
.Declaration
Swift
case dismissViewControllerNotPresentedModally
-
Declaration
Swift
public var errorDescription: String?