(e: unknown)
| 18 | |
| 19 | } |
| 20 | export function isHttpProblem(e: unknown): e is HttpProblem { |
| 21 | |
| 22 | if (!e) return false; |
| 23 | return (e as HttpProblem).title !== undefined && isHttpError(e); |
| 24 | |
| 25 | } |
| 26 | |
| 27 | export class HttpErrorBase extends Error implements HttpProblem { |
| 28 |
nothing calls this directly
no test coverage detected
searching dependent graphs…