haxwell / eog-mobile

1 stars 1 forks source link

Need platform agnostic error describing service #99

Open haxwell opened 6 years ago

haxwell commented 6 years ago

I need a service that I can pass an error object, for instance the object passed in the catch of a promise, and determine if that object is one condition or another, since the way that error object may be represented on iPhone or Android could be different. So I would say to this service "Does this error mean the file was not found?" and it would return true or false, abstracting the fact that we were on one platform or another.