create Instance
public final ErrorFragmentCompat createInstance(ErrorType errorType, Document document, String customError)
Factory method for creating a new instance of the Fragment.
Return
a new instance of the Fragment
Parameters
document
a Document for which no valid extractions were received