mirror of https://github.com/grafana/grafana.git
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)
|
||
|
|
}
|