Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrDatasetNotFound = errors.New("dataset not found") ErrEditionNotFound = errors.New("edition not found") ErrVersionNotFound = errors.New("version not found") ErrObservationsNotFound = errors.New("no observations found") ErrTooManyWildcards = errors.New("only one wildcard (*) is allowed as a value in selected query parameters") ErrMissingVersionDimensions = errors.New("missing list of dimensions from version doc") ErrIndexOutOfRange = errors.New("index out of range") ErrInternalServer = errors.New("internal error") ErrResourceState = errors.New("incorrect resource state") ErrInvalidDocType = errors.New("incorrect document type") )
A list of error messages for Observation API
Functions ¶
func ErrorIncorrectQueryParameters ¶
ErrorIncorrectQueryParameters returns an error for incorrect selection of query paramters
func ErrorMissingQueryParameters ¶
ErrorMissingQueryParameters returns an error for missing parameters
func ErrorMultivaluedQueryParameters ¶
ErrorMultivaluedQueryParameters returns an error for multi-valued query parameters
Types ¶
type ObservationQueryError ¶
type ObservationQueryError struct {
// contains filtered or unexported fields
}
ObservationQueryError is an error structure to handle observation query errors
func (ObservationQueryError) Error ¶
func (e ObservationQueryError) Error() string
Error returns the error message
Click to show internal directories.
Click to hide internal directories.