GAAS GFrame项目web后台
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
268 B

  1. package grmi
  2. type BusinessError struct {
  3. message string
  4. }
  5. func NewBusinessError(message string) error {
  6. return &BusinessError{message}
  7. }
  8. func (self *BusinessError) Error() string {
  9. return self.message
  10. }
  11. func (self *BusinessError) Inner() bool {
  12. return false
  13. }