Skip to content
This repository was archived by the owner on Mar 23, 2023. It is now read-only.

Commit 7e096bf

Browse files
committed
Remove unused errors
1 parent 0b52dbb commit 7e096bf

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

client.go

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ package rest
33
import (
44
"bytes"
55
"encoding/json"
6-
"errors"
76
"fmt"
87
"io"
98
"net/http"
@@ -12,15 +11,6 @@ import (
1211
log "github.com/sirupsen/logrus"
1312
)
1413

15-
var (
16-
// ErrServiceUnavailable represents a 422
17-
ErrServiceUnavailable = errors.New("Service Not Found")
18-
// ErrBadRequest represents a 400
19-
ErrBadRequest = errors.New("Bad Request")
20-
// ErrSWW represents all other http errors
21-
ErrSWW = errors.New("Something Went Wrong")
22-
)
23-
2414
// Client represents a rest http client and is used to send requests to OpsLevel integrations
2515
type Client struct {
2616
baseURL *url.URL

0 commit comments

Comments
 (0)