mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
chore: extract json-api from core
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
This commit is contained in:
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") {
|
||||
|
||||
Reference in new issue
Block a user