Other Enumerations

The following enumerations are available globally.

  • Undocumented

    See more

    Declaration

    Swift

    public enum PMKError : Error
    extension PMKError: CustomDebugStringConvertible
    extension PMKError: LocalizedError
  • Used by catch and recover

    See more

    Declaration

    Swift

    public enum CatchPolicy
  • The PromiseKit events which may be logged.

    /// A promise or guarantee has blocked the main thread
    case waitOnMainThread
    
    /// A promise has been deallocated without being resolved
    case pendingPromiseDeallocated
    
    /// An error which occurred while fulfilling a promise was swallowed
    case cauterized(Error)
    
    /// Errors which give a string error message
    case misc (String)
    
    See more

    Declaration

    Swift

    public enum LogEvent
  • used by our extensions to provide unambiguous functions with the same name as the original function

    See more

    Declaration

    Swift

    public enum PMKNamespacer
  • Undocumented

    See more

    Declaration

    Swift

    public enum Result<T>