sc::InputError(3)

πŸ“¦
version 2.3.1 Β· 5 versions
, in ubuntu jammy

🌸 NAME 🌸

sc::InputError β€” this is thrown when invalid input is provided. That’s the whole mood, bestie: bad input shows up, this exception says hi. πŸ’…

This is the sc::InputError(3) page from the MPQC manual, and we’re gonna make it make sense. 🫢


✨ SYNOPSIS ✨

First, the include. Copy it exactly, no freestyling:

#include <scexception.h>

Inheritance tea: InputError inherits sc::SCException. Slay. πŸŽ€

πŸ’… Public Member Functions πŸ’…

Here’s the full public lineup, signatures exactly as written:

InputError (const char *description=0, const char *file=0, int line=0,
    const char *keyword=0, const char *value=0, const ClassDesc
    *class_desc=0, const char *exception_type='InputError')  throw ()
InputError (const InputError &)  throw ()
const char * keyword () const  throw ()
const char * value () const  throw ()

That’s four public member functions: the big constructor with all those defaulted args, the copy constructor, and the keyword() and value() getters. Every one ends in throw (). Iconic. ✨


πŸ¦‹ Detailed Description πŸ¦‹

The detailed description is serving the same exact energy: this is thrown when invalid input is provided. 🚨

But here’s the caveat you don’t wanna skip: note that sometimes input can be internally generated, so what logically would be a ProgrammingError could result in an InputError being thrown. Lowkey important, highkey real. πŸ’€


πŸŽ€ Author πŸŽ€

Generated automatically by Doxygen for MPQC from the source code. Doxygen did the auto-generation thing, MPQC brought the source. 🧚


And that’s the page, bestie. It came from MPQC, version 2.3.1, dated Sun Oct 4 2020 β€” we are so done. πŸ’–βœ¨

πŸ“¦ where this page comes from