errutil

package
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 9, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package errutil provides common functions for dealing with error conditions for all ceph api wrappers.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FormatErrno

func FormatErrno(errno int) (int, string)

FormatErrno returns the absolute value of the errno as well as a string describing the errno. The string will be empty is the errno is not known.

func StrError

func StrError(errno int) string

StrError returns a string describing the errno. The string will be empty if the errno is not known.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL