// EN: Export all error classes and utilities
// VI: Export tất cả error classes và utilities

export {
  HttpError,
  BadRequestError,
  UnauthorizedError,
  ForbiddenError,
  NotFoundError,
  ConflictError,
  ValidationError,
  RateLimitError,
  InternalServerError,
  ServiceUnavailableError,
  DatabaseError,
  ExternalServiceError,
} from './http-error';

export {
  ErrorCode,
  ERROR_CODE_TO_STATUS,
  getStatusFromErrorCode,
  isOperationalError,
} from './error-codes';

export { createHttpError } from '../middlewares/error.middleware';