Stay organized with collections
Save and categorize content based on your preferences.
FIRExceptionModel
@interfaceFIRExceptionModel:NSObject
The Firebase Crashlytics ExceptionModel provides a way to report custom exceptions
to Crashlytics that came from a runtime environment outside of the native
platform Crashlytics is running in.
A list of stack frames that make up the stack trace. The order of the stack trace is top-first,
so typically the “main” function is the last element in this list.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-11 UTC."],[],[],null,["# FirebaseCrashlytics Framework Reference\n\nFIRExceptionModel\n=================\n\n\n @interface FIRExceptionModel : NSObject\n\nThe Firebase Crashlytics ExceptionModel provides a way to report custom exceptions\nto Crashlytics that came from a runtime environment outside of the native\nplatform Crashlytics is running in.\n- `\n ``\n ``\n `\n\n ### [-initWithName:reason:](#/c:objc(cs)FIRExceptionModel(im)initWithName:reason:)\n\n `\n ` \n Initializes an ExceptionModel with the given required fields. \n\n #### Declaration\n\n Objective-C \n\n - (nonnull instancetype)initWithName:(nonnull NSString *)name\n reason:(nonnull NSString *)reason;\n\n #### Parameters\n\n |----------------|------------------------------------------------|\n | ` `*name*` ` | - typically the type of the Exception class |\n | ` `*reason*` ` | - the human-readable reason the issue occurred |\n\n- `\n ``\n ``\n `\n\n ### [+exceptionModelWithName:reason:](#/c:objc(cs)FIRExceptionModel(cm)exceptionModelWithName:reason:)\n\n `\n ` \n Creates an ExceptionModel with the given required fields. \n\n #### Declaration\n\n Objective-C \n\n + (nonnull instancetype)exceptionModelWithName:(nonnull NSString *)name\n reason:(nonnull NSString *)reason;\n\n #### Parameters\n\n |----------------|------------------------------------------------|\n | ` `*name*` ` | - typically the type of the Exception class |\n | ` `*reason*` ` | - the human-readable reason the issue occurred |\n\n- `\n ``\n ``\n `\n\n ### [stackTrace](#/c:objc(cs)FIRExceptionModel(py)stackTrace)\n\n `\n ` \n A list of stack frames that make up the stack trace. The order of the stack trace is top-first,\n so typically the \"main\" function is the last element in this list. \n\n #### Declaration\n\n Objective-C \n\n @property (nonatomic, copy) NSArray\u003c../Classes/FIRStackFrame.html *\u003e *_Nonnull stackTrace;"]]