Documentation ¶
Index ¶
- type ErrorBuilder
- func (inst *ErrorBuilder) Bool(key string, val bool) *ErrorBuilder
- func (inst *ErrorBuilder) Bools(key string, val []bool) *ErrorBuilder
- func (inst *ErrorBuilder) Bytes(key string, val []byte) *ErrorBuilder
- func (inst *ErrorBuilder) Errorf(format string, a ...any) error
- func (inst *ErrorBuilder) Float32(key string, val float32) *ErrorBuilder
- func (inst *ErrorBuilder) Float64(key string, val float64) *ErrorBuilder
- func (inst *ErrorBuilder) Floats32(key string, val []float32) *ErrorBuilder
- func (inst *ErrorBuilder) Floats64(key string, val []float64) *ErrorBuilder
- func (inst *ErrorBuilder) Hex(key string, val []byte) *ErrorBuilder
- func (inst *ErrorBuilder) IPAddr(key string, ip net.IP) *ErrorBuilder
- func (inst *ErrorBuilder) Int(key string, val int) *ErrorBuilder
- func (inst *ErrorBuilder) Int16(key string, val int16) *ErrorBuilder
- func (inst *ErrorBuilder) Int32(key string, val int32) *ErrorBuilder
- func (inst *ErrorBuilder) Int64(key string, val int64) *ErrorBuilder
- func (inst *ErrorBuilder) Int8(key string, val int8) *ErrorBuilder
- func (inst *ErrorBuilder) Ints(key string, val []int) *ErrorBuilder
- func (inst *ErrorBuilder) Ints16(key string, val []int16) *ErrorBuilder
- func (inst *ErrorBuilder) Ints32(key string, val []int32) *ErrorBuilder
- func (inst *ErrorBuilder) Ints64(key string, val []int64) *ErrorBuilder
- func (inst *ErrorBuilder) Ints8(key string, val []int8) *ErrorBuilder
- func (inst *ErrorBuilder) IsOpen() bool
- func (inst *ErrorBuilder) RawCBOR(key string, b []byte) *ErrorBuilder
- func (inst *ErrorBuilder) RawJSON(key string, b []byte) *ErrorBuilder
- func (inst *ErrorBuilder) Reset()
- func (inst *ErrorBuilder) Str(key string, val string) *ErrorBuilder
- func (inst *ErrorBuilder) Stringer(key string, val fmt.Stringer) *ErrorBuilder
- func (inst *ErrorBuilder) Stringers(key string, val []fmt.Stringer) *ErrorBuilder
- func (inst *ErrorBuilder) Strs(key string, val []string) *ErrorBuilder
- func (inst *ErrorBuilder) Time(key string, val time.Time) *ErrorBuilder
- func (inst *ErrorBuilder) Times(key string, val []time.Time) *ErrorBuilder
- func (inst *ErrorBuilder) Type(key string, val any) *ErrorBuilder
- func (inst *ErrorBuilder) Uint(key string, val uint) *ErrorBuilder
- func (inst *ErrorBuilder) Uint16(key string, val uint16) *ErrorBuilder
- func (inst *ErrorBuilder) Uint32(key string, val uint32) *ErrorBuilder
- func (inst *ErrorBuilder) Uint64(key string, val uint64) *ErrorBuilder
- func (inst *ErrorBuilder) Uint8(key string, val uint8) *ErrorBuilder
- func (inst *ErrorBuilder) Uints(key string, val []uint) *ErrorBuilder
- func (inst *ErrorBuilder) Uints16(key string, val []uint16) *ErrorBuilder
- func (inst *ErrorBuilder) Uints32(key string, val []uint32) *ErrorBuilder
- func (inst *ErrorBuilder) Uints64(key string, val []uint64) *ErrorBuilder
- func (inst *ErrorBuilder) Uints8(key string, val []uint8) *ErrorBuilder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ErrorBuilder ¶
type ErrorBuilder struct {
// contains filtered or unexported fields
}
func Build ¶
func Build() *ErrorBuilder
func (*ErrorBuilder) Bool ¶
func (inst *ErrorBuilder) Bool(key string, val bool) *ErrorBuilder
func (*ErrorBuilder) Bools ¶
func (inst *ErrorBuilder) Bools(key string, val []bool) *ErrorBuilder
func (*ErrorBuilder) Bytes ¶
func (inst *ErrorBuilder) Bytes(key string, val []byte) *ErrorBuilder
func (*ErrorBuilder) Float32 ¶
func (inst *ErrorBuilder) Float32(key string, val float32) *ErrorBuilder
func (*ErrorBuilder) Float64 ¶
func (inst *ErrorBuilder) Float64(key string, val float64) *ErrorBuilder
func (*ErrorBuilder) Floats32 ¶
func (inst *ErrorBuilder) Floats32(key string, val []float32) *ErrorBuilder
func (*ErrorBuilder) Floats64 ¶
func (inst *ErrorBuilder) Floats64(key string, val []float64) *ErrorBuilder
func (*ErrorBuilder) Hex ¶
func (inst *ErrorBuilder) Hex(key string, val []byte) *ErrorBuilder
func (*ErrorBuilder) IPAddr ¶
func (inst *ErrorBuilder) IPAddr(key string, ip net.IP) *ErrorBuilder
func (*ErrorBuilder) Int ¶
func (inst *ErrorBuilder) Int(key string, val int) *ErrorBuilder
func (*ErrorBuilder) Int16 ¶
func (inst *ErrorBuilder) Int16(key string, val int16) *ErrorBuilder
func (*ErrorBuilder) Int32 ¶
func (inst *ErrorBuilder) Int32(key string, val int32) *ErrorBuilder
func (*ErrorBuilder) Int64 ¶
func (inst *ErrorBuilder) Int64(key string, val int64) *ErrorBuilder
func (*ErrorBuilder) Int8 ¶
func (inst *ErrorBuilder) Int8(key string, val int8) *ErrorBuilder
func (*ErrorBuilder) Ints ¶
func (inst *ErrorBuilder) Ints(key string, val []int) *ErrorBuilder
func (*ErrorBuilder) Ints16 ¶
func (inst *ErrorBuilder) Ints16(key string, val []int16) *ErrorBuilder
func (*ErrorBuilder) Ints32 ¶
func (inst *ErrorBuilder) Ints32(key string, val []int32) *ErrorBuilder
func (*ErrorBuilder) Ints64 ¶
func (inst *ErrorBuilder) Ints64(key string, val []int64) *ErrorBuilder
func (*ErrorBuilder) Ints8 ¶
func (inst *ErrorBuilder) Ints8(key string, val []int8) *ErrorBuilder
func (*ErrorBuilder) IsOpen ¶
func (inst *ErrorBuilder) IsOpen() bool
func (*ErrorBuilder) RawCBOR ¶
func (inst *ErrorBuilder) RawCBOR(key string, b []byte) *ErrorBuilder
func (*ErrorBuilder) RawJSON ¶
func (inst *ErrorBuilder) RawJSON(key string, b []byte) *ErrorBuilder
func (*ErrorBuilder) Reset ¶
func (inst *ErrorBuilder) Reset()
func (*ErrorBuilder) Str ¶
func (inst *ErrorBuilder) Str(key string, val string) *ErrorBuilder
func (*ErrorBuilder) Stringer ¶
func (inst *ErrorBuilder) Stringer(key string, val fmt.Stringer) *ErrorBuilder
func (*ErrorBuilder) Stringers ¶
func (inst *ErrorBuilder) Stringers(key string, val []fmt.Stringer) *ErrorBuilder
func (*ErrorBuilder) Strs ¶
func (inst *ErrorBuilder) Strs(key string, val []string) *ErrorBuilder
func (*ErrorBuilder) Time ¶
func (inst *ErrorBuilder) Time(key string, val time.Time) *ErrorBuilder
func (*ErrorBuilder) Times ¶
func (inst *ErrorBuilder) Times(key string, val []time.Time) *ErrorBuilder
func (*ErrorBuilder) Type ¶
func (inst *ErrorBuilder) Type(key string, val any) *ErrorBuilder
func (*ErrorBuilder) Uint ¶
func (inst *ErrorBuilder) Uint(key string, val uint) *ErrorBuilder
func (*ErrorBuilder) Uint16 ¶
func (inst *ErrorBuilder) Uint16(key string, val uint16) *ErrorBuilder
func (*ErrorBuilder) Uint32 ¶
func (inst *ErrorBuilder) Uint32(key string, val uint32) *ErrorBuilder
func (*ErrorBuilder) Uint64 ¶
func (inst *ErrorBuilder) Uint64(key string, val uint64) *ErrorBuilder
func (*ErrorBuilder) Uint8 ¶
func (inst *ErrorBuilder) Uint8(key string, val uint8) *ErrorBuilder
func (*ErrorBuilder) Uints ¶
func (inst *ErrorBuilder) Uints(key string, val []uint) *ErrorBuilder
func (*ErrorBuilder) Uints16 ¶
func (inst *ErrorBuilder) Uints16(key string, val []uint16) *ErrorBuilder
func (*ErrorBuilder) Uints32 ¶
func (inst *ErrorBuilder) Uints32(key string, val []uint32) *ErrorBuilder
func (*ErrorBuilder) Uints64 ¶
func (inst *ErrorBuilder) Uints64(key string, val []uint64) *ErrorBuilder
func (*ErrorBuilder) Uints8 ¶
func (inst *ErrorBuilder) Uints8(key string, val []uint8) *ErrorBuilder
Click to show internal directories.
Click to hide internal directories.