DeleteBucket removes a nested bucket with the given key. This also includes removing all nested buckets and keys under the bucket being deleted.

The interface contract guarantees at least the following errors will be returned (other implementation-specific errors are possible):

- ErrBucketNotFound if the specified bucket does not exist
- ErrTxNotWritable if attempted against a read-only transaction
- ErrTxClosed if the transaction has already been closed

DeleteBucket is referenced in 2 repositories