Documentation ¶
Index ¶
- Constants
- func GetEdgefsErrorCode(err error) int
- func IsEdgefsNoServiceAvailableError(err error) bool
- func IsEdgefsServiceNotExistsError(err error) bool
- func IsEdgefsSnapshotAlreadyExistTypeError(err error) bool
- func IsEdgefsSnapshotNotExistTypeError(err error) bool
- func IsEdgefsUnknownBackendTypeError(err error) bool
- func IsEdgefsVolumeNotExistsError(err error) bool
- type EdgefsError
Constants ¶
View Source
const ( EdgefsVolumeNotExistsErrorCode = 1 EdgefsVolumeNotFoundErrorCode = 2 EdgefsServiceNotExistsErrorCode = 3 EdgefsNoServiceAvailableErrorCode = 4 EdgefsUnknownBackendTypeErrorCode = 5 EdgefsSnapshotNotExistErrorCode = 6 EdgefsSnapshotAlreadyExistErrorCode = 7 )
Variables ¶
This section is empty.
Functions ¶
func GetEdgefsErrorCode ¶
Types ¶
type EdgefsError ¶
func (*EdgefsError) Error ¶
func (e *EdgefsError) Error() string
Click to show internal directories.
Click to hide internal directories.