// src/universalFile/types.ts
var FileServiceError = class extends Error {
  constructor(message, code, details) {
    super(message);
    this.code = code;
    this.details = details;
    this.name = "FileServiceError";
  }
};
var FileUploadError = class extends FileServiceError {
  constructor(message, details) {
    super(message, "FILE_UPLOAD_ERROR", details);
    this.name = "FileUploadError";
  }
};
var FileProcessingError = class extends FileServiceError {
  constructor(message, details) {
    super(message, "FILE_PROCESSING_ERROR", details);
    this.name = "FileProcessingError";
  }
};
var StorageProviderError = class extends FileServiceError {
  constructor(message, details) {
    super(message, "STORAGE_PROVIDER_ERROR", details);
    this.name = "StorageProviderError";
  }
};
var CDNProviderError = class extends FileServiceError {
  constructor(message, details) {
    super(message, "CDN_PROVIDER_ERROR", details);
    this.name = "CDNProviderError";
  }
};

export { CDNProviderError, FileProcessingError, FileServiceError, FileUploadError, StorageProviderError };
//# sourceMappingURL=chunk-CIVO4R6N.mjs.map
//# sourceMappingURL=chunk-CIVO4R6N.mjs.map