import { ErrorReporter } from "@core/shared/application";

export class ConsoleErrorReporter implements ErrorReporter {
  report(error: Error, context?: unknown): void {
    const timestamp = new Date().toISOString();
    console.error(`[${timestamp}] Error reported:`, error.message, { error, context });
  }
}