ExceptionModel
class ExceptionModel : 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.
-
Initializes an ExceptionModel with the given required fields.
Declaration
Swift
init(name: String, reason: String)
Parameters
name
- typically the type of the Exception class
reason
- the human-readable reason the issue occurred
-
Creates an ExceptionModel with the given required fields.
Parameters
name
- typically the type of the Exception class
reason
- the human-readable reason the issue occurred
-
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.
Declaration
Swift
var stackTrace: [StackFrame] { get set }