Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 604b23c060
Fetching contributors…

Cannot retrieve contributors at this time

16 lines (11 sloc) 0.312 kb
package alpm
// #include <alpm.h>
import "C"
// The Error type represents error codes from libalpm.
type Error uint32
var _ error = Error(0)
// The string representation of an error is given by C function
// alpm_strerror().
func (er Error) Error() string {
return C.GoString(C.alpm_strerror(uint32(er)))
}
Jump to Line
Something went wrong with that request. Please try again.