# ErrorEvent

public class ErrorEvent<E>

页面级别错误事件

#### Author

rongcloud

## Properties

error
Link copied to clipboard
public final E error
message
Link copied to clipboard
public final String message

## Functions

getError
Link copied to clipboard
public E getError()
获取错误类型
getMessage
Link copied to clipboard
public String getMessage()
获取错误信息
obtain
Link copied to clipboard
public static ErrorEvent<E> obtain<E>(E error)
public static ErrorEvent<E> obtain<E>(E error, String message)
创建错误事件