chore: extract json-api from core

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
This commit is contained in:
Jari Kolehmainen committed 2023-05-04 12:51:11 +03:00
1 parent f1f2634490
commit 04a23fc4f9
20 files changed
+164 -55

No files matched your search

@@ -3,7 +3,7 @@
* Licensed under MIT License. See LICENSE in root directory for more information.
*/
import { JsonApiErrorParsed } from "../k8s-api/json-api";
import { JsonApiErrorParsed } from "@k8slens/json-api";
export const getErrorMessage = (error: unknown): string => {
if (typeof error === "string") {