| 9 | } |
| 10 | |
| 11 | interface NeverThrowError<T, E> { |
| 12 | data: |
| 13 | | { |
| 14 | type: string |
| 15 | value: T |
| 16 | } |
| 17 | | { |
| 18 | type: string |
| 19 | value: E |
| 20 | } |
| 21 | message: string |
| 22 | stack: string | undefined |
| 23 | } |
| 24 | |
| 25 | // Custom error object |
| 26 | // Context / discussion: https://github.com/supermacro/neverthrow/pull/215 |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…