Versions in this module Expand all Collapse all v12 v12.1.9 Aug 12, 2022 Changes in this version + func InternalServerError(ctx iris.Context, err error, format string, args ...interface{}) + func InternalServerErrorJSON(ctx iris.Context, err error, format string, args ...interface{}) + func LogFailure(logger io.Writer, ctx iris.Context, err HTTPError) + func RuntimeCallerStack() (s string) + type HTTPError struct + CallerStack string + Description string + Stack string + StatusCode int + When time.Time + func Fail(ctx iris.Context, statusCode int, err error, format string, ...) HTTPError + func FailJSON(ctx iris.Context, statusCode int, err error, format string, ...) HTTPError + func UnauthorizedJSON(ctx iris.Context, err error, format string, args ...interface{}) HTTPError