doc: add comments to cephfs error methods

Signed-off-by: Niels de Vos <ndevos@redhat.com>
This commit is contained in:
Niels de Vos 2020-07-02 10:23:23 +02:00 committed by mergify[bot]
parent ec1a009dee
commit 393569482e

View File

@ -22,6 +22,7 @@ type ErrInvalidVolID struct {
err error err error
} }
// Error returns a user presentable string of the error.
func (e ErrInvalidVolID) Error() string { func (e ErrInvalidVolID) Error() string {
return e.err.Error() return e.err.Error()
} }
@ -32,6 +33,7 @@ type ErrNonStaticVolume struct {
err error err error
} }
// Error returns a user presentable string of the error.
func (e ErrNonStaticVolume) Error() string { func (e ErrNonStaticVolume) Error() string {
return e.err.Error() return e.err.Error()
} }
@ -41,6 +43,7 @@ type ErrVolumeNotFound struct {
err error err error
} }
// Error returns a user presentable string of the error.
func (e ErrVolumeNotFound) Error() string { func (e ErrVolumeNotFound) Error() string {
return e.err.Error() return e.err.Error()
} }