Commit graph

4 commits

Author SHA1 Message Date
Zach Klippenstein 701ea3a245 Moved error definitions to an internal package, deleted the confusing util package.
Public API for error querying and formatting lives in top-level package.
2016-05-22 10:49:34 -07:00
Zach Klippenstein cb7e06bdb9 OpenRead will now return an error if the server returns an error when trying to open a file.
All sync status reads now also check for failure status,
using the same logic as the normal Scanner (the only difference
being that for normal scanners, length is encoded as a hex
string, but for sync scanners it's in binary little-endian).
2015-12-28 19:46:14 -08:00
Zach Klippenstein 34b3a07ca8 Richer error handling. 2015-07-12 00:37:58 -07:00
Zach Klippenstein d0b99d9f57 Parse more bits out of file modes in sync mode. 2015-04-28 14:25:36 -05:00