api_error

package
v0.48.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 24, 2025 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrQueryTooHeavy  = errors.New("query too heavy, try decreasing date range or make search query more precise")
	ErrTooManyBuckets = errors.New("aggregation has too many buckets, try decreasing interval")
)

Functions

func CheckAggregationTsInterval

func CheckAggregationTsInterval(interval string, from, to time.Time, maximum int) error

func CheckAggregationsCount

func CheckAggregationsCount(count, maximum int) error

func CheckSearchLimit

func CheckSearchLimit(limit, maximum int32) error

func CheckSearchOffsetLimit

func CheckSearchOffsetLimit(offset, maximum int32) error

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL