// src/lib/is-fetch-error.ts
import { ClientError } from "@mercurjs/client";
var isClientError = (error) => {
  return error instanceof ClientError;
};
var isFetchError = (error) => {
  return error instanceof Error && "status" in error;
};

export {
  isClientError,
  isFetchError
};
