Skip to content

I-S-Tech/c-libexcept

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

c-libexcept


How to use :

#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;
}

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published