feat(withdraw):完成公示撤回及审核相关的功能。

This commit is contained in:
徐涛
2022-08-22 11:14:07 +08:00
parent 5ea375a2cc
commit 9498419163
7 changed files with 277 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
package exceptions
import "fmt"
type ImproperOperateError struct {
Message string
Arguments []string
}
func NewImproperOperateError(msg string, arguments ...string) ImproperOperateError {
return ImproperOperateError{
Message: msg,
Arguments: arguments,
}
}
func (e ImproperOperateError) Error() string {
return fmt.Sprintf("Improper Operate, %s", e.Message)
}