StubProduct
public enum StubProduct
[Internal] Possible Given products. Method can either return or throw an error (in general)
return: Return valuethrow: Thrown error value
-
Undocumented
Declaration
Swift
case `return`(Any) -
Undocumented
Declaration
Swift
case `throw`(Error) -
[Internal] If self is returns, and nested value can be casted to T, returns value. Can fail (fatalError)
Throws
Error if self is throwDeclaration
Swift
public func casted<T>() throws -> TReturn Value
Value if self is return
View on GitHub
StubProduct Enumeration Reference