Skip to content

Commit

Permalink
issue #26 move errors
Browse files Browse the repository at this point in the history
  • Loading branch information
wmentor committed Jan 7, 2021
1 parent a89393e commit f026f7d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 2 additions & 0 deletions errors.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ var (
errorCodes map[int][]byte

errorInvalidRequestMethod error = errors.New("invalid request method")

ErrServerAlreadyStarted error = errors.New("routerer already started")
)

func init() {
Expand Down
2 changes: 0 additions & 2 deletions router.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,6 @@ type router struct {
var (
rt *router
routerer *http.Server

ErrServerAlreadyStarted error = errors.New("routerer already started")
)

func init() {
Expand Down

0 comments on commit f026f7d

Please sign in to comment.