Context
public struct Context : CustomStringConvertible
Error context holder
-
Message describing error that happened
Declaration
Swift
public let debugDescription: String
-
Underlying error if present
Declaration
Swift
public let underlyingError: Error?
-
Constructor
Declaration
Swift
public init(_ debugDescription: String, underlyingError: Error? = nil)
-
Declaration
Swift
public var description: String { get }