sc::InputError(3)
πΈ 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
- ubuntu jammy: libsc-doc 2.3.1-21
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms