BugsnagErrorTypes

Objective-C


@interface BugsnagErrorTypes : NSObject

Swift

class BugsnagErrorTypes : NSObject

The types of error that should be reported.

  • Determines whether App Hang events should be reported to bugsnag.

    This flag is true by default.

    Note: this flag is ignored in App Extensions, where app hang detection is always disabled.

    Declaration

    Objective-C

    @property (nonatomic) BOOL appHangs;

    Swift

    var appHangs: Bool { get set }
  • Determines whether Out of Memory events should be reported to bugsnag.

    This flag is true by default.

    Declaration

    Objective-C

    @property (nonatomic) BOOL ooms;

    Swift

    var ooms: Bool { get set }
  • Determines whether Thermal Kill events should be reported to bugsnag.

    This flag is true by default.

    Declaration

    Objective-C

    @property (nonatomic) BOOL thermalKills;

    Swift

    var thermalKills: Bool { get set }
  • Determines whether NSExceptions should be reported to bugsnag.

    This flag is true by default.

    Declaration

    Objective-C

    @property (nonatomic) BOOL unhandledExceptions;

    Swift

    var unhandledExceptions: Bool { get set }
  • Determines whether signals should be reported to bugsnag.

    This flag is true by default.

    Declaration

    Objective-C

    @property (nonatomic) BOOL signals;

    Swift

    var signals: Bool { get set }
  • Determines whether C errors should be reported to bugsnag.

    This flag is true by default.

    Declaration

    Objective-C

    @property (nonatomic) BOOL cppExceptions;

    Swift

    var cppExceptions: Bool { get set }
  • Determines whether Mach Exceptions should be reported to bugsnag.

    This flag is true by default.

    Declaration

    Objective-C

    @property (nonatomic) BOOL machExceptions;

    Swift

    var machExceptions: Bool { get set }
  • Sets whether Bugsnag should automatically capture and report unhandled promise rejections. This only applies to React Native apps. By default, this value is true.

    Declaration

    Objective-C

    @property (nonatomic) BOOL unhandledRejections;

    Swift

    var unhandledRejections: Bool { get set }