mirror of
https://github.com/kataras/iris.git
synced 2025-12-22 04:17:03 +00:00
update dependencies
This commit is contained in:
@@ -62,7 +62,7 @@ func GetError(err error) (APIError, bool) {
|
||||
}
|
||||
|
||||
// DecodeError binds a json error to the "destPtr".
|
||||
func DecodeError(err error, destPtr interface{}) error {
|
||||
func DecodeError(err error, destPtr any) error {
|
||||
apiErr, ok := GetError(err)
|
||||
if !ok {
|
||||
return err
|
||||
|
||||
Reference in New Issue
Block a user