Result

public extension Result
public extension Result where Failure == KukaiError
  • Similar to Result.get(), getError returns the failure case or throws

    Declaration

    Swift

    func getError() throws -> Failure

Available where Failure == KukaiError

  • Similar to Result.get(), getFailure returns the kukai-core-specific KukaiError case or throws

    Declaration

    Swift

    func getFailure() -> Failure