go-ceph/internal/errutil
John Mulligan 828ea92a51 errutil: replace unused StrError with FormatErrorCode function
This change removes StrError, as it was unused.
Instead we add FormatErrorCode which should replace the common code that
was previously repeated for all error-code types, along with
consistently printing the raw error code value's sign (minus sign when
negative).

Signed-off-by: John Mulligan <jmulligan@redhat.com>
2020-08-10 13:03:24 -04:00
..
strerror_test.go errutil: replace unused StrError with FormatErrorCode function 2020-08-10 13:03:24 -04:00
strerror.go errutil: replace unused StrError with FormatErrorCode function 2020-08-10 13:03:24 -04:00