import { Exception } from '../../exceptions/exception.js'

/**
 * An exception thrown during the JSON Schema import process when an
 * unrecoverable error occurs.
 */
export class ImporterException extends Exception {
  static override code = 'E_IMPORTER_FAILURE'
  static override status = 400 // Bad Request, as it's likely due to invalid input schemas
}
