Just create a variable containing your error:

```go
var UnknownDockerProtoErr = errors.New("Docker only supports TCP")
```