ErrorList
public struct ErrorList: Error
Wraps an accumulated list of errors.
-
A list of errors from a repeating operation.
Declaration
Swift
public var errors: [Error]
-
Creates a new
ErrorList
instance.Declaration
Swift
public init(errors: [Error] = [])
Parameters
errors
The initial errors to populate the
errors
array. Defaults to an empty array.