summaryrefslogtreecommitdiff
path: root/2003/i/buzz/src/erreur/erreur.cc
blob: f5b8de397d1d114a1d3e8c5790a19d0ac8ed031b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// erreur.cc
// buzz - Programme du robot Efrei Robotique I1-I2 2003
// Copyright (C) 2003 Nicolas Schodet
//
#include "erreur.h"

// Retourne une description de l'erreur.
const char *
Erreur::what () const
{
    return "Erreur non sp�cifi�e.\n";
}

const char *
ErreurFatale::what () const
{
    return m_descr;
}