- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for UnsupportedValueError (0.45 sec)
-
src/cmd/cgo/internal/testplugin/testdata/issue18676/main.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // The bug happened like this: // 1. The main binary adds an itab for *json.UnsupportedValueError / error // (concrete type / interface type). This itab goes in hash bucket 0x111. // 2. The plugin adds that same itab again. That makes a cycle in the itab // chain rooted at hash bucket 0x111.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 11:59:56 UTC 2023 - 1.1K bytes - Viewed (0) -
src/encoding/json/encode.go
func (e *UnsupportedTypeError) Error() string { return "json: unsupported type: " + e.Type.String() } // An UnsupportedValueError is returned by [Marshal] when attempting // to encode an unsupported value. type UnsupportedValueError struct { Value reflect.Value Str string } func (e *UnsupportedValueError) Error() string { return "json: unsupported value: " + e.Str }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 00:18:55 UTC 2024 - 36.2K bytes - Viewed (0) -
src/encoding/json/encode_test.go
} for _, tt := range tests { t.Run(tt.Name, func(t *testing.T) { if _, err := Marshal(tt.in); err != nil { if _, ok := err.(*UnsupportedValueError); !ok { t.Errorf("%s: Marshal error:\n\tgot: %T\n\twant: %T", tt.Where, err, new(UnsupportedValueError)) } } else { t.Errorf("%s: Marshal error: got nil, want non-nil", tt.Where) } }) } } // Issue 43207
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 18:42:28 UTC 2024 - 29.4K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go
{"UnmarshalTypeError.Value", Field, 0}, {"Unmarshaler", Type, 0}, {"UnsupportedTypeError", Type, 0}, {"UnsupportedTypeError.Type", Field, 0}, {"UnsupportedValueError", Type, 0}, {"UnsupportedValueError.Str", Field, 0}, {"UnsupportedValueError.Value", Field, 0}, {"Valid", Func, 9}, }, "encoding/pem": { {"Block", Type, 0}, {"Block.Bytes", Field, 0}, {"Block.Headers", Field, 0},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 02:20:05 UTC 2024 - 534.2K bytes - Viewed (0) -
api/go1.txt
pkg encoding/json, type UnsupportedTypeError struct pkg encoding/json, type UnsupportedTypeError struct, Type reflect.Type pkg encoding/json, type UnsupportedValueError struct pkg encoding/json, type UnsupportedValueError struct, Str string pkg encoding/json, type UnsupportedValueError struct, Value reflect.Value pkg encoding/pem, func Decode([]uint8) (*Block, []uint8) pkg encoding/pem, func Encode(io.Writer, *Block) error
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Aug 14 18:58:28 UTC 2013 - 1.7M bytes - Viewed (0)