func Code()

in error.go [34:39]


func Code(e error) int {
	if err, ok := e.(*Error); ok {
		return err.code
	}
	return 0
}