if a scala function is
def A(): Either[Exception, ArrayBuffer[Int]] = {
...
}
what should be the right way to process the returned result?
val a = A()
and ?
if a scala function is
def A(): Either[Exception, ArrayBuffer[Int]] = {
...
}
what should be the right way to process the returned result?
val a = A()
and ?