Leandro Borges Ferreira
10/31/2018, 10:19 PMHexa
10/31/2018, 10:20 PMLeandro Borges Ferreira
10/31/2018, 10:21 PMLeandro Borges Ferreira
10/31/2018, 10:22 PMinfo?.run {
//your else code here!
} ?: unauthorized()Leandro Borges Ferreira
10/31/2018, 10:22 PMLeandro Borges Ferreira
10/31/2018, 10:23 PMinfo.fold({
    unauthorized()
},{
    //your else code here!
})Hexa
10/31/2018, 10:43 PMEither<Errors.ApplicationError, ValidInfo>Hexa
10/31/2018, 11:00 PM