ErrorExtractor Protocol Reference
public protocol ErrorExtractor<ErrorType>
An object from which you can extract an optional error.
-
The type of error that can be extracted.
Declaration
Swift
associatedtype ErrorType : Error -
Declaration
Swift
func getError() -> ErrorType?Return Value
An error, if it’s present in the object, or nil.