mirror of
https://github.com/labring/FastGPT.git
synced 2025-12-25 20:02:47 +00:00
21 lines
449 B
TypeScript
21 lines
449 B
TypeScript
export class NoSuchBucketError extends Error {
|
|
constructor(message: string) {
|
|
super(message);
|
|
this.name = 'NoSuchBucketError';
|
|
}
|
|
}
|
|
|
|
export class NoBucketReadPermissionError extends Error {
|
|
constructor(message: string) {
|
|
super(message);
|
|
this.name = 'NoBucketReadPermissionError';
|
|
}
|
|
}
|
|
|
|
export class EmptyObjectError extends Error {
|
|
constructor(message: string) {
|
|
super(message);
|
|
this.name = 'EmptyObjectError';
|
|
}
|
|
}
|