-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpkg_xerrors.go
52 lines (48 loc) · 1.47 KB
/
pkg_xerrors.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
package main
import (
q "github.com/qiniu/x/errors"
"reflect"
"github.com/goplus/igop"
)
func init() {
igop.RegisterPackage(&igop.Package{
Name: "errors",
Path: "github.com/qiniu/x/errors",
Deps: map[string]string{
"errors": "errors",
"fmt": "fmt",
"io": "io",
"reflect": "reflect",
"runtime": "runtime",
"strconv": "strconv",
"strings": "strings",
},
Interfaces: map[string]reflect.Type{},
NamedTypes: map[string]reflect.Type{
"Frame": reflect.TypeOf((*q.Frame)(nil)).Elem(),
"List": reflect.TypeOf((*q.List)(nil)).Elem(),
"NotFound": reflect.TypeOf((*q.NotFound)(nil)).Elem(),
},
AliasTypes: map[string]reflect.Type{
"ErrorInfo": reflect.TypeOf((*q.ErrorInfo)(nil)).Elem(),
},
Vars: map[string]reflect.Value{},
Funcs: map[string]reflect.Value{
"As": reflect.ValueOf(q.As),
"CallDetail": reflect.ValueOf(q.CallDetail),
"Detail": reflect.ValueOf(q.Detail),
"Err": reflect.ValueOf(q.Err),
"Info": reflect.ValueOf(q.Info),
"InfoEx": reflect.ValueOf(q.InfoEx),
"Is": reflect.ValueOf(q.Is),
"IsNotFound": reflect.ValueOf(q.IsNotFound),
"New": reflect.ValueOf(q.New),
"NewFrame": reflect.ValueOf(q.NewFrame),
"NewWith": reflect.ValueOf(q.NewWith),
"Summary": reflect.ValueOf(q.Summary),
"Unwrap": reflect.ValueOf(q.Unwrap),
},
TypedConsts: map[string]igop.TypedConst{},
UntypedConsts: map[string]igop.UntypedConst{},
})
}