(status: number, message: string, details: ApiErrorPayload = {})
| 93 | method: 'PATCH', |
| 94 | body: data ? JSON.stringify(data) : undefined, |
| 95 | }) |
| 96 | } |
| 97 | |
| 98 | delete<T>(endpoint: string, options?: RequestOptions) { |
| 99 | return this.request<T>(endpoint, { ...options, method: 'DELETE' }) |
| 100 | } |
| 101 | } |
| 102 | |
| 103 | export class ApiError extends Error { |
nothing calls this directly
no outgoing calls
no test coverage detected