12 lines
184 B
Go
12 lines
184 B
Go
|
package db
|
||
|
|
||
|
import "fmt"
|
||
|
|
||
|
type bucketNotExistError struct {
|
||
|
bucket string
|
||
|
}
|
||
|
|
||
|
func (e bucketNotExistError) Error() string {
|
||
|
return fmt.Sprintf("bucket %s does not exist", e.bucket)
|
||
|
}
|