Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type WrapperBuilder ¶
type WrapperBuilder struct {
// contains filtered or unexported fields
}
func NewWrapperBuilder ¶
func NewWrapperBuilder() *WrapperBuilder
func (*WrapperBuilder) Build ¶
func (s *WrapperBuilder) Build() Wrapper
func (*WrapperBuilder) Err ¶
func (s *WrapperBuilder) Err(err error) *WrapperBuilder
Err sets an error wraps new error.
func (*WrapperBuilder) Msg ¶
func (s *WrapperBuilder) Msg(format string, v ...any) *WrapperBuilder
Msg sets a common message added to new error.
Click to show internal directories.
Click to hide internal directories.