code: func (s *BucketService) FindBucket(ctx context.Context, filter platform.BucketFilter) (*platform.Bucket, error) {
  	bs, n, err := s.FindBuckets(ctx, filter)
  	if err != nil {
  		return nil, err
  	}
  
  	if n == 0 {
  		return nil, &platform.Error{
  			Code: platform.ENotFound,
  			Op:   s.OpPrefix + platform.OpFindBucket,
  			Msg:  "bucket not found",
  			Err:  ErrNotFound,
  		}
  	}
  
  	return bs[0], nil
  }
docs: // FindBucket returns the first bucket that matches filter.