mirror of
https://github.com/traefik/yaegi.git
synced 2026-06-01 18:37:56 +00:00
* feat: support go1.22 * Temporary fix for consistency tests due to language change in for loops * review: clean old files --------- Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
24 lines
581 B
Go
24 lines
581 B
Go
// Code generated by 'yaegi extract errors'. DO NOT EDIT.
|
|
|
|
//go:build go1.22
|
|
// +build go1.22
|
|
|
|
package stdlib
|
|
|
|
import (
|
|
"errors"
|
|
"reflect"
|
|
)
|
|
|
|
func init() {
|
|
Symbols["errors/errors"] = map[string]reflect.Value{
|
|
// function, constant and variable definitions
|
|
"As": reflect.ValueOf(errors.As),
|
|
"ErrUnsupported": reflect.ValueOf(&errors.ErrUnsupported).Elem(),
|
|
"Is": reflect.ValueOf(errors.Is),
|
|
"Join": reflect.ValueOf(errors.Join),
|
|
"New": reflect.ValueOf(errors.New),
|
|
"Unwrap": reflect.ValueOf(errors.Unwrap),
|
|
}
|
|
}
|