c1ed28fd25
Change-Id: I91e9610b27244fe5d7500575eae24647e256dab8
18 lines
290 B
Go
18 lines
290 B
Go
package remote
|
|
|
|
import (
|
|
"fmt"
|
|
|
|
aerror "opendev.org/airship/airshipctl/pkg/errors"
|
|
)
|
|
|
|
type RemoteDirectError struct {
|
|
aerror.AirshipError
|
|
}
|
|
|
|
func NewRemoteDirectErrorf(format string, v ...interface{}) error {
|
|
e := &RemoteDirectError{}
|
|
e.Message = fmt.Sprintf(format, v...)
|
|
return e
|
|
}
|