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

Commit

Permalink
Remove unused errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Fauzyy committed Jun 3, 2020
1 parent 0b52dbb commit 7e096bf
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions client.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ package rest
import (
"bytes"
"encoding/json"
"errors"
"fmt"
"io"
"net/http"
Expand All @@ -12,15 +11,6 @@ import (
log "github.com/sirupsen/logrus"
)

var (
// ErrServiceUnavailable represents a 422
ErrServiceUnavailable = errors.New("Service Not Found")
// ErrBadRequest represents a 400
ErrBadRequest = errors.New("Bad Request")
// ErrSWW represents all other http errors
ErrSWW = errors.New("Something Went Wrong")
)

// Client represents a rest http client and is used to send requests to OpsLevel integrations
type Client struct {
baseURL *url.URL
Expand Down

0 comments on commit 7e096bf

Please sign in to comment.