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