File: error.go

package info (click to toggle)
golang-github-masterzen-winrm 0.0~git20200615.c42b513-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 288 kB
  • sloc: makefile: 28; sh: 14
file content (13 lines) | stat: -rw-r--r-- 226 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
package winrm

import "fmt"

// errWinrm generic error struct
type errWinrm struct {
	message string
}

// ErrWinrm implements the Error type interface
func (e errWinrm) Error() string {
	return fmt.Sprintf("%s", e.message)
}