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 }

mapping

  • underlyingError Extension method

    Get the first error cause

    Declaration

    Swift

    public var underlyingError: Swift.Error? { get }
  • errorStack Extension method

    Get all error stack

    Declaration

    Swift

    public var errorStack: [Swift.Error]? { get }