Repository Public
1/**2 * =============================================================================3 * SP BOUCHER | SOFTWARE & RESEARCH4 * ARTIFICIAL INTELLIGENCE • FINANCE • ENGINEERING5 * =============================================================================6 *7 * Project : agentilab-web8 * File : app/(fr)/error.tsx9 * Module : (fr)10 * Repository : https://git.spboucher.ai/agentilab-web11 * Project Website : Not specified12 * Created : 2026-12-0513 * Last Modified : 2026-12-0514 *15 * Author : Simon-Pierre Boucher16 * Position : Professor of Finance17 * Institution : Université du Québec en Outaouais (UQO)18 * Organization : SP Boucher19 * Website : https://spboucher.ai20 * Git : https://git.spboucher.ai21 *22 * Preferred Contact: contact@spboucher.ai23 * Development : dev@spboucher.ai24 * Support : support@spboucher.ai25 * Security/Admin : admin@spboucher.ai26 *27 * Copyright (c) 202628 * Simon-Pierre Boucher29 * All rights reserved where applicable. This file is governed by the30 * applicable project license, copyright notices and relevant law.31 * Existing third-party rights and notices remain unaffected.32 *33 * License : Proprietary34 *35 * Do not embed credentials, private keys, access tokens,36 * certificates or confidential personal information.37 *38 * =============================================================================39 * END OF SP BOUCHER SOURCE HEADER40 * =============================================================================41 */4243'use client';4445import { getCopy } from '@/lib/i18n/copy';4647// État d’erreur : aucun détail technique n’est affiché au visiteur.48export default function ErrorState({ reset }: { error: Error; reset: () => void }) {49 const t = getCopy('fr').error;50 return (51 <div className="notfound container" role="alert">52 <h1>{t.title}</h1>53 <p className="lead">{t.text}</p>54 <div className="hero__cta">55 <button type="button" className="btn btn--primary" onClick={reset}>56 {t.retry}57 </button>58 </div>59 </div>60 );61}62