mirror of https://github.com/databricks/cli.git
17 lines
234 B
Go
17 lines
234 B
Go
|
package convert
|
||
|
|
||
|
import (
|
||
|
"fmt"
|
||
|
|
||
|
"github.com/databricks/cli/libs/config"
|
||
|
)
|
||
|
|
||
|
type TypeError struct {
|
||
|
value config.Value
|
||
|
msg string
|
||
|
}
|
||
|
|
||
|
func (e TypeError) Error() string {
|
||
|
return fmt.Sprintf("%s: %s", e.value.Location(), e.msg)
|
||
|
}
|