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