turokg / yappa

Serverless deploy of python web-apps @YandexCloud
MIT License
74 stars 10 forks source link

Feature/error handling in cli #32

Closed 1kovalevskiy closed 2 years ago

1kovalevskiy commented 2 years ago

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 of RpcError. File system could return OSError