| 95 | } |
| 96 | |
| 97 | type ServiceWithError interface { |
| 98 | suture.Service |
| 99 | fmt.Stringer |
| 100 | Error() error |
| 101 | } |
| 102 | |
| 103 | // AsService wraps the given function to implement suture.Service. In addition |
| 104 | // it keeps track of the returned error and allows querying that error. |
no outgoing calls
no test coverage detected