mirror of
https://github.com/nicotsx/ironmount.git
synced 2025-12-10 12:10:51 +01:00
feat: delete volume
This commit is contained in:
7
apps/client/app/lib/errors.ts
Normal file
7
apps/client/app/lib/errors.ts
Normal file
@@ -0,0 +1,7 @@
|
||||
export const parseError = (error?: unknown) => {
|
||||
if (error && typeof error === "object" && "message" in error) {
|
||||
return { message: error.message as string };
|
||||
}
|
||||
|
||||
return undefined;
|
||||
};
|
||||
Reference in New Issue
Block a user