5 Star 28 Fork 4

安木鸡 / reborn

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
errors.go 553 Bytes
一键复制 编辑 原始数据 按行查看 历史
package reborn
import "fmt"
type UnsupportedValueTypeError struct {
Value interface{}
}
func (u UnsupportedValueTypeError) Error() string {
return fmt.Sprintf("unsupported value type, %T", u.Value)
}
type LoadFromDBError struct {
err error
}
func (l LoadFromDBError) Error() string {
return fmt.Sprintf("failed to load config from db, error: %s", l.err.Error())
}
type SyncDefaultsToDBError struct {
err error
}
func (s SyncDefaultsToDBError) Error() string {
return fmt.Sprintf("failed to sync defaults to db, error: %s", s.err.Error())
}
Go
1
https://gitee.com/jwma/reborn.git
git@gitee.com:jwma/reborn.git
jwma
reborn
reborn
master

搜索帮助