Skip to content

Modern Docker Management, Designed for Everyone

251 B
Raw Blame
package base

// FieldError identifies the input field associated with an error.
type FieldError struct {
	Field string
	Err   error
}

func (e *FieldError) Error() string { return e.Err.Error() }

func (e *FieldError) Unwrap() error { return e.Err }