create

fun Error.NetworkError.Companion.create(code: VideoErrorCode, cause: Throwable? = null, statusCode: Int = -1): Error.NetworkError
fun Error.NetworkError.Companion.create(streamCode: Int, description: String, statusCode: Int, cause: Throwable? = null): Error.NetworkError