executors/docker/internal/volumes/parser/errors.go (15 lines of code) (raw):

package parser import ( "fmt" ) type InvalidVolumeSpecError struct { spec string } func (e *InvalidVolumeSpecError) Error() string { return fmt.Sprintf("invalid volume specification: %q", e.spec) } func NewInvalidVolumeSpecErr(spec string) error { return &InvalidVolumeSpecError{ spec: spec, } }