ErrorIO
public class ErrorIO: ErrorType, ArrayLiteralConvertible
The primary purpose of ErrorIO (which conforms to ErrorType) is to attempt to standardize a
method for coalescing multiple errors. For example, a task with multiple subtasks might
return a Result<T> the error type of which is an ErrorIO containing multiple errors
from multiple failed subtasks. ErrorIO implements SequenceType, CollectionType,
ExtensibleCollectionType, and ArrayLiteralConvertible.
-
Undocumented
See moreDeclaration
Swift
public class ErrorIO: ErrorType, ArrayLiteralConvertible -
The
ElementofErrorIOwhen considered as a sequence/collection.Declaration
Swift
public typealias Element = ErrorType -
The type of the underlying collection that holds the
ErrorTypes contained by thisErrorIO.Declaration
Swift
public typealias UnderlyingCollection = [Element] -
The default error domain for
ErrorIOobjects.Declaration
Swift
public class var defaultDomain: String { return "com.illumntr.ErrorIO" } -
The default error code for
ErrorIOobjects.Declaration
Swift
public class var defaultCode: Int { return 1 } -
The errors contained by this
ErrorIO.Declaration
Swift
public private(set) var errors = UnderlyingCollection() -
Undocumented
Declaration
Swift
public class ErrorIO: ErrorType, ArrayLiteralConvertible -
Undocumented
Declaration
Swift
public class ErrorIO: ErrorType, ArrayLiteralConvertible -
Undocumented
Declaration
Swift
public class ErrorIO: ErrorType, ArrayLiteralConvertible -
Undocumented
Declaration
Swift
public class ErrorIO: ErrorType, ArrayLiteralConvertible -
Undocumented
Declaration
Swift
public class ErrorIO: ErrorType, ArrayLiteralConvertible -
Undocumented
Declaration
Swift
public class ErrorIO: ErrorType, ArrayLiteralConvertible -
Undocumented
Declaration
Swift
public class ErrorIO: ErrorType, ArrayLiteralConvertible -
Undocumented
Declaration
Swift
public class ErrorIO: ErrorType, ArrayLiteralConvertible -
Undocumented
Declaration
Swift
public class ErrorIO: ErrorType, ArrayLiteralConvertible
-
Undocumented
Declaration
Swift
public class ErrorIO: ErrorType, ArrayLiteralConvertible
-
Undocumented
Declaration
Swift
public class ErrorIO: ErrorType, ArrayLiteralConvertible -
Undocumented
Declaration
Swift
public class ErrorIO: ErrorType, ArrayLiteralConvertible
-
Undocumented
Declaration
Swift
public class ErrorIO: ErrorType, ArrayLiteralConvertible -
This method is simply an alias for
push(), included forExtensibleCollectionTypeconformance.Declaration
Swift
public func append(newElement:Element) -
Element order is [bottom, …, top], as if one were to iterate through the sequence in forward order, calling
stack.push(element)on each element.Declaration
Swift
public func extend <S: SequenceType where S.Generator.Element == Element> (sequence: S)
View on GitHub
ErrorIO Class Reference