mirror of
https://github.com/grafana/grafana.git
synced 2024-12-01 13:09:22 -06:00
cadc6088db
* CloudWatch: move parse request types separate package * Move metric query constants, unexport metricDataQuery json decoding type * Unexport isSearchExpression
13 lines
191 B
Go
13 lines
191 B
Go
package models
|
|
|
|
import "fmt"
|
|
|
|
type QueryError struct {
|
|
Err error
|
|
RefID string
|
|
}
|
|
|
|
func (e *QueryError) Error() string {
|
|
return fmt.Sprintf("error parsing query %q, %s", e.RefID, e.Err)
|
|
}
|