caddy/caddytls/storagetest
Matthew Holt abdf13ea30 Improve TLS storage provider errors
We renamed caddytls.ErrStorageNotFound to caddytls.ErrNotExist to more
closely mirror the os package. We changed it to an interface wrapper
so that the custom error message can be preserved. Returning only "data
not found" was useless in debugging because we couldn't know the
concrete value of the error (like what it was trying to load).

Users can do a type assertion to determine if the error value is a "not
found" error instead of doing an equality check.
2016-09-08 18:50:04 -06:00
..
memorystorage_test.go Pluggable TLS Storage (#913) 2016-07-08 07:32:31 -06:00
memorystorage.go Improve TLS storage provider errors 2016-09-08 18:50:04 -06:00
storagetest_test.go Pluggable TLS Storage (#913) 2016-07-08 07:32:31 -06:00
storagetest.go Improve TLS storage provider errors 2016-09-08 18:50:04 -06:00