NSException(CLUExceptionAdditions)

@interface NSException (CLUExceptionAdditions)

NSException (CLUExceptionAdditions) category contains method to parse NSException properties and encode them into json like dictionary To be able to include NSException properties into Clue report (to handle unexpected exception during report recording)

  • Generate exception dictionary which includes name, reason, userInfo, callStackReturnAddresses and callStackSymbols for current NSException object

    Warning

    This method doesn’t have any input, it generates dictionary based on current NSException object

    @code { name : , reason : , userInfo : , callStackReturnAddresses : > callStackSymbols : > }

    Declaration

    Objective-C

    - (NSDictionary *)clue_exceptionProperties;

    Swift

    func clue_exceptionProperties() -> [AnyHashable : Any]!

    Return Value

    Exception dictionary with data from current NSException object