ErrorWithCause
public protocol ErrorWithCause : Error
Undocumented
-
Depending on error type, returns an
Error
object, cause of the current error.Declaration
Swift
var error: Swift.Error? { get }
-
underlyingError
Extension methodGet the first error cause
Declaration
Swift
public var underlyingError: Swift.Error? { get }
-
errorStack
Extension methodGet all error stack
Declaration
Swift
public var errorStack: [Swift.Error]? { get }