databricks-cli/libs/cmdio/error_event.go

16 lines
247 B
Go

package cmdio
import "fmt"
type ErrorEvent struct {
Error string `json:"error"`
}
func (event *ErrorEvent) String() string {
return fmt.Sprintf("Error: %s", event.Error)
}
func (event *ErrorEvent) IsInplaceSupported() bool {
return false
}