Programming Language

Nocter

A self-contained systems language built around simplicity, encapsulation, and foolproof design.

/development/std/error/construction.nct

construction.nct

//! Built-in error payload construction.

include ./index.nct

construct error {
    default func new(code: &str, message: &str): Self from code | message {
        return new_error(code, message)
    }
}