MCPcopy
hub / github.com/golang-jwt/jwt / Error

Method Error

errors.go:35–42  ·  errors.go::joinedError.Error
()

Source from the content-addressed store, hash-verified

33}
34
35func (je joinedError) Error() string {
36 msg := []string{}
37 for _, err := range je.errs {
38 msg = append(msg, err.Error())
39 }
40
41 return strings.Join(msg, ", ")
42}
43
44// joinErrors joins together multiple errors. Useful for scenarios where
45// multiple errors next to each other occur, e.g., in claims validation.

Callers 8

Test_joinErrorsFunction · 0.80
Test_newErrorFunction · 0.80
LoadRSAPublicKeyFromDiskFunction · 0.80
MakeSampleTokenFunction · 0.80
LoadECPrivateKeyFromDiskFunction · 0.80
LoadECPublicKeyFromDiskFunction · 0.80

Calls

no outgoing calls

Tested by 3

Test_joinErrorsFunction · 0.64
Test_newErrorFunction · 0.64