ceph-csi/internal/cephfs
Sven Anderson 8393fbe40b util: simplify error handling
The sentinel error code had additional fields in the errors, that are
used nowhere.  This leads to unneccesarily complicated code.  This
change replaces the sentinel errors in utils with standard errors
created with errors.New() and adds a simple JoinErrors() function to
be able to combine sentinel errors from different code tiers.

Related: #1203

Signed-off-by: Sven Anderson <sven@redhat.com>
2020-07-23 11:16:40 +00:00
..
cephfs_util.go util: simplify error handling 2020-07-23 11:16:40 +00:00
controllerserver.go util: simplify error handling 2020-07-23 11:16:40 +00:00
driver.go cleanup: address godot warnings 2020-07-21 08:36:24 +00:00
errors.go cleanup: address godot warnings 2020-07-21 08:36:24 +00:00
fsjournal.go cleanup: address godot warnings 2020-07-21 08:36:24 +00:00
identityserver.go cleanup: address godot warnings 2020-07-21 08:36:24 +00:00
nodeserver.go cleanup: use wrapped static errors instead of dynamic 2020-07-21 08:36:24 +00:00
util.go cleanup: address gosec warnings 2020-07-21 08:36:24 +00:00
volume.go cephfs: return volume not found error if volume doesnot exists 2020-07-17 10:27:18 +00:00
volumemounter.go cleanup: address gomnd warnings 2020-07-21 08:36:24 +00:00
volumeoptions.go cleanup: use wrapped static errors instead of dynamic 2020-07-21 08:36:24 +00:00