createInstance

Creates an instance of the error dialog with a given error code.

Return

An ErrorDialogFragment instance.

Parameters

error

The error code.