mirror of
https://gitlab.com/soapbox-pub/shakespeare.git
synced 2026-12-06 08:37:22 +00:00
Improve failed image generation request UX
This commit is contained in:
6 files changed
+90
-141
No files matched your search
@@ -1,9 +0,0 @@
|
||||
/**
|
||||
* Error thrown when image generation fails
|
||||
*/
|
||||
export class ImageGenerationError extends Error {
|
||||
constructor(message: string, public readonly originalError?: Error) {
|
||||
super(message);
|
||||
this.name = 'ImageGenerationError';
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user