1
0
mirror of https://github.com/kataras/iris.git synced 2026-01-10 05:25:58 +00:00

update vendor

Former-commit-id: 8e7fca843e404d34fec071415191657ea554dd05
This commit is contained in:
Gerasimos Maropoulos
2018-04-03 13:07:23 +03:00
parent e9e2998538
commit 989cb3f045
5 changed files with 8 additions and 6 deletions

View File

@@ -31,8 +31,9 @@ type Error struct {
// New creates and returns an Error with a pre-defined user output message
// all methods below that doesn't accept a pointer receiver because actually they are not changing the original message
func New(errMsg string) Error {
uidv4, _ := uuid.NewV4() // skip error.
return Error{
ID: uuid.NewV4().String(),
ID: uidv4.String(),
Message: Prefix + errMsg,
}
}