pelican/internal/db/errors.go

11 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)
}