Read Available Space in DocumentsDirectory?

Is it possible to distinguish between a network error, and out-of-space errors when using network.download() to save files to the DocumentsDirectory?

[import]uid: 4596 topic_id: 15520 reply_id: 315520[/import]