Documentation
¶
Index ¶
Constants ¶
View Source
const ( UnknownErrCode = "9999" SuccessCode = "20000" )
Variables ¶
View Source
var (
DefaultSuccessCodes = []string{SuccessCode}
)
Functions ¶
Types ¶
type AtomicError ¶
type AtomicError struct {
// contains filtered or unexported fields
}
func (*AtomicError) Load ¶
func (ae *AtomicError) Load() error
func (*AtomicError) Set ¶
func (ae *AtomicError) Set(err error)
type BatchError ¶
type BatchError []error
func (BatchError) Error ¶
func (be BatchError) Error() string
Click to show internal directories.
Click to hide internal directories.