mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
16 lines
236 B
Go
16 lines
236 B
Go
|
package dockerfile
|
||
|
|
||
|
type validationError struct {
|
||
|
err error
|
||
|
}
|
||
|
|
||
|
func (e validationError) Error() string {
|
||
|
return e.err.Error()
|
||
|
}
|
||
|
|
||
|
func (e validationError) InvalidParameter() {}
|
||
|
|
||
|
func (e validationError) Cause() error {
|
||
|
return e.err
|
||
|
}
|