package Ġcom . dou gr itter . mar vel . core . platform Ċ Ċ import Ġandroid . arch . lifecycle . Mutable LiveData Ċ import Ġandroid . arch . lifecycle . ViewModel Ċ import Ġcom . dou gr itter . mar vel . core . exception . Failure Ċ Ċ abstract Ġclass ĠBase ViewModel Ġ: ĠViewModel () Ġ{ ĊĊĠĠĠ Ġvar Ġfailure : ĠMutable LiveData < Failure > Ġ= ĠMutable LiveData () ĊĊĠĠĠ Ġprotected Ġfun Ġhandle Failure ( failure : ĠFailure ) Ġ{ ĊĠĠĠĠĠĠĠ Ġthis . failure . value Ġ= Ġfailure ĊĠĠĠ Ġ} Ċ Ċ }