BuglyException class
Constructors
- BuglyException(ExceptionType type, Object exception, StackTrace? stackTrace)
- BuglyException.withSession(ExceptionType type, Object exception, StackTrace? stackTrace)
-
构造携带 session 信息的异常
factory
Properties
- address ↔ String
-
发生异常的代码位置
getter/setter pair
- exception → Object
-
异常
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- message ↔ String
-
异常概述
getter/setter pair
- messageId ↔ String
-
消息 id,用于协助后台定位问题
getter/setter pair
- name ↔ String
-
异常名称
getter/setter pair
- occurTime ↔ int
-
异常发生时间
getter/setter pair
- pageName ↔ String
-
发生异常的页面
getter/setter pair
-
previousSessionInfo
↔ Map<
String?, String?> -
异常发生时上一次session信息
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sessionId ↔ String?
-
异常发生时的session id
getter/setter pair
- sessionTimestamp ↔ int?
-
异常发生时最近一次会话的时间戳
getter/setter pair
- stack ↔ String
-
异常堆栈
getter/setter pair
- stackTrace → StackTrace?
-
异常堆栈
final
- thread ↔ String?
-
异常线程信息
getter/setter pair
- type → ExceptionType
-
异常类型
final
-
userData
→ Map<
String, String> -
no setter
Methods
-
addUserData(
String key, String value) → void - 添加用户额外数据
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
packageForTransport(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited