FluidFramework icon indicating copy to clipboard operation
FluidFramework copied to clipboard

Create New: Moving storage specific codes closer to driver

Open ruchika-m opened this issue 6 years ago • 1 comments

Feature

As create new moves closer to the driver the expectation for host apps is to get errors from storage specific failures translated at the driver layer itself and handed over to them in a more descriptive manner that the apps can then handle.

Describe the solution you'd like The Preview app today checks for storage specific status codes returned when creating a new fluid file and has a number of individual conditions which it then handles. For example, we check for status code and if it's 507 show an 'out of storage space' error. The host apps shouldn't get into the business of checking storage specific codes. The expectation here is instead of status codes, the host apps can get an 'OutOfStorageError' type and work with that.

ruchika-m avatar Apr 07 '20 01:04 ruchika-m

https://github.com/microsoft/FluidFramework/pull/2056

jatgarg avatar May 06 '20 23:05 jatgarg