ErrorSeverity Enumeration

public enum ErrorSeverity : Int

Represents the severity level of an error, indicating how critical the error is and what kind of action may be needed.

  • A warning indicates a minor issue that does not prevent normal operation but should be noted or logged.

    Declaration

    Swift

    case warning = 1
  • Recoverable errors indicate an issue that caused a failure but the system can recover from it without terminating the operation.

    Declaration

    Swift

    case recoverable = 2
  • Fatal errors are critical issues that prevent further operation, usually requiring termination or restart of the affected component.

    Declaration

    Swift

    case fatal = 3