Every cli function have many calls of yandexcloud and file handle. I added handler of yandexcloud and file errors.
Yandex cloud could return _InactiveRpcError, which means 4xx from the cloud. _InactiveRpcError is child of RpcError.
File system could return OSError
Add error handling to cli function #13
Every cli function have many calls of yandexcloud and file handle. I added handler of yandexcloud and file errors. Yandex cloud could return
_InactiveRpcError
, which means 4xx from the cloud._InactiveRpcError
is child ofRpcError
. File system could returnOSError