Export ErrorWIthStack type
This commit is contained in:
@@ -7,3 +7,5 @@ export const ErrorWithMessage = z.object({
|
||||
export const ErrorWithStackSchema = ErrorWithMessage.extend({
|
||||
stack: z.string().optional(),
|
||||
});
|
||||
|
||||
export type ErrorWithStack = z.infer<typeof ErrorWithStackSchema>;
|
||||
|
||||
Reference in New Issue
Block a user