LoggingError

public enum LoggingError : Error
extension LoggingError: SAPError

Enum which covers all errors occuring in the logging framework

  • Occurs if you use the logging framework without initializing it beforehand.

    Declaration

    Swift

    case frameworkNotInitialized
  • Occurs if a file handler cannot create a log file. The description message will give you more input about the actual error.

    Declaration

    Swift

    case logFileCouldNotBeCreated(error: Error)
  • Message describing the error

    Declaration

    Swift

    public var description: String { get }
  • A textual representation of this instance, suitable for debugging.

    Declaration

    Swift

    public var debugDescription: String { get }
  • A localized message describing what error occurred.

    Declaration

    Swift

    public var errorDescription: String? { get }
  • A localized message describing the reason for the failure.

    Declaration

    Swift

    public var failureReason: String? { get }