()
| 62 | } |
| 63 | |
| 64 | func (e *RemoteError) TracedError() error { |
| 65 | return &errors.TracedError{ |
| 66 | Cause: errors.New("[Remote Error] " + e.Cause), |
| 67 | Stack: e.Stack, |
| 68 | } |
| 69 | } |
| 70 | |
| 71 | func NewRemoteError(err error) *RemoteError { |
| 72 | if err == nil { |
no outgoing calls
no test coverage detected