WithErrorLog xxx
()
| 119 | |
| 120 | // WithErrorLog xxx |
| 121 | func (err FinalError) WithErrorLog() FinalError { |
| 122 | // logs.ErrorDepth(1, err.Error()) |
| 123 | logs.Error(err.Error()) |
| 124 | return err |
| 125 | } |
| 126 | |
| 127 | func (f FinalError) Error() string { |
| 128 | b, _ := json.Marshal(f) |