Derek Berner
05/15/2019, 4:12 PM!effect {
when (response.status) {
InternalServerError -> IO.raiseError(AccountsGatewayException("Failed to get info for notification_id ${notificationId.value} on account ${accountId.value}. ${response.status.description}"))
Gone -> IO.raiseError(NotificationDeletedException())
else -> IO.just(Unit)
}
}
but I decided it was too obfuscatory and there's no side effect