yowcow / goromdb

Yet another single process KVS server implemented over file-based database
The Unlicense
12 stars 5 forks source link

Return ErrorBucketNotFound when bucket is not found #91

Closed yowcow closed 5 years ago

yowcow commented 5 years ago

Some goromdb server implementation requires to handle "bucket not found" error, other than just an InternalError, on such occasions like it can be just another kind of key not found error.

To make it possible, add another error type ErrorBucketNotFound, and return it explicitly when bucket is not found.

ajiyoshi-vg commented 5 years ago

LGTM