SfBAlert Class Reference

Inherits from NSObject
Declared in SfBAlert.h

Overview

Asynchronous exceptional condition.

Alerts are exceptional conditions that could not be exposed as a return value or an error coming from some function. Possible sources:

  • Asynchronous operation successfully initiated but failed later.
  • Incoming network error that cannot be handled transparently.

  •   type

    Identifies the particular event that resulted in an alert.

    @property (readonly) SfBAlertType type

    Discussion

    Identifies the particular event that resulted in an alert.

    Declared In

    SfBAlert.h

      level

    @property (readonly) SfBAlertLevel level

      error

    Reason for the alert.

    @property (readonly) NSError *error

    Discussion

    Reason for the alert.

    Declared In

    SfBAlert.h

    – init

    - (instancetype)init