moby/volume/local
Sebastiaan van Stijn 11b88be247
Remove validationError type, and use errdefs.InvalidParameter
Using `errors.Errorf()` passes the error with the stack trace for
debugging purposes.

Also using `errdefs.InvalidParameter` for Windows, so that the API
will return a 4xx status, instead of a 5xx, and added tests for
both validations.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2018-12-22 16:04:52 +01:00
..
local.go Remove validationError type, and use errdefs.InvalidParameter 2018-12-22 16:04:52 +01:00
local_test.go Add ADD/COPY --chown flag support to Windows 2018-08-13 21:59:11 -07:00
local_unix.go Remove validationError type, and use errdefs.InvalidParameter 2018-12-22 16:04:52 +01:00
local_windows.go Remove validationError type, and use errdefs.InvalidParameter 2018-12-22 16:04:52 +01:00