Browse Source

error: remove unused Message func

Yicheng Qin 11 years ago
parent
commit
b9544d32b6
1 changed files with 0 additions and 4 deletions
  1. 0 4
      error/error.go

+ 0 - 4
error/error.go

@@ -129,10 +129,6 @@ func NewError(errorCode int, cause string, index uint64) *Error {
 	}
 }
 
-func Message(code int) string {
-	return errors[code]
-}
-
 // Only for error interface
 func (e Error) Error() string {
 	return e.Message + " (" + e.Cause + ")"