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:
@@ -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,
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user