#include "libexcept/exceptions.h"
void sample_function()
{
// This is a sample function that throws an exception
THROW();
}
int main()
{
TRY {
// This will throw an exception
sample_function();
} CATCH {
// We caught an exception !
PERR; // Display exception infos
} END_TRY;
}
-
Notifications
You must be signed in to change notification settings - Fork 0
License
I-S-Tech/c-libexcept
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published