Skip to content

Commit

Permalink
change error text
Browse files Browse the repository at this point in the history
  • Loading branch information
acoshift committed Aug 24, 2017
1 parent cc5e3d7 commit 6d5020c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hrpc.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ const (

func setOrPanic(m map[mapIndex]int, k mapIndex, v int) {
if _, exists := m[k]; exists {
panic("mount: duplicate input type")
panic("hrpc: duplicate input type")
}
m[k] = v
}
Expand All @@ -73,7 +73,7 @@ func (m *Manager) Handler(f interface{}) http.Handler {
fv := reflect.ValueOf(f)
ft := fv.Type()
if ft.Kind() != reflect.Func {
panic("mount: f must be a function")
panic("hrpc: f must be a function")
}

// build mapIn
Expand Down

0 comments on commit 6d5020c

Please sign in to comment.