mirror of
https://github.com/kataras/iris.git
synced 2026-01-07 20:17:05 +00:00
add x/errors.OK, Create, NoContent and NoContentOrNotModified package-level generic functions as custom service helpers
This commit is contained in:
@@ -14,6 +14,8 @@ var (
|
||||
New = errors.New
|
||||
// Unwrap is an alias of the standard errors.Unwrap function.
|
||||
Unwrap = errors.Unwrap
|
||||
// Join is an alias of the standard errors.Join function.
|
||||
Join = errors.Join
|
||||
)
|
||||
|
||||
func sprintf(format string, args ...interface{}) string {
|
||||
|
||||
Reference in New Issue
Block a user