Stay organized with collections
Save and categorize content based on your preferences.
ExceptionModel
classExceptionModel: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,["ExceptionModel \n\n class ExceptionModel : 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 [init(name:reason:)](#/c:objc(cs)FIRExceptionModel(im)initWithName:reason:)`\n ` \n Initializes an ExceptionModel with the given required fields. \n\n Declaration \n Swift \n\n init(name: String, reason: String)\n\n Parameters\n\n- `\n ``\n ``\n `\n\n [+exceptionModelWithName:reason:](#/c:objc(cs)FIRExceptionModel(cm)exceptionModelWithName:reason:)`\n ` \n Creates an ExceptionModel with the given required fields. \n\n Parameters\n\n- `\n ``\n ``\n `\n\n [stackTrace](#/c:objc(cs)FIRExceptionModel(py)stackTrace)`\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 Swift \n\n var stackTrace: [../Classes/StackFrame.html] { get set }"]]