erratum.cc
./mud++0.26/src/erratum.cc · 1.1 KB
From the archive mud++0.26f.tar.gz
Download the archive « Back to the archive contents
/*
....[@@@..[@@@..............[@.................. MUD++ is a written from
....[@..[@..[@..[@..[@..[@@@@@....[@......[@.... scratch multi-user swords and
....[@..[@..[@..[@..[@..[@..[@..[@@@@@..[@@@@@.. sorcery game written in C++.
....[@......[@..[@..[@..[@..[@....[@......[@.... This server is an ongoing
....[@......[@..[@@@@@..[@@@@@.................. development project. All
................................................ contributions are welcome.
....Copyright(C).1995.Melvin.Smith.............. Enjoy.
------------------------------------------------------------------------------
Melvin Smith (aka Fusion) msmith@hom.net
MUD++ development mailing list mudpp-list@mailhost.net
------------------------------------------------------------------------------
erratum.cc
*/
#include <signal.h>
#include "io.h"
#include "erratum.h"
void Error::outOfBounds()
{
Cout << "ERROR: Out of Bounds. Core dumped.\n\r";
coreDump();
}
void Error::unsupportedFunction()
{
Cout << "ERROR: Unsupported Function. Core dumped.\n\r";
coreDump();
}
void Error::coreDump()
{
raise( SIGSEGV );
}