sc::FileOperationFailed(3)
π NAME π
okay bestie, this is the sc::FileOperationFailed page from the MPQC manual β section (3), if we're being precise π
. It's the exception that gets thrown when an operation on a file fails. Periodt. π
β¨ SYNOPSIS β¨
First things first, you include this:
#include <scexception.h>
And it inherits sc::SystemException. iykyk π«Ά
πΈ Public Types
The enum is literally this, no cap:
enum FileOperation { Unknown, OpenR, OpenW, OpenRW, Close, Read, Write,
Corrupt, Other }
π Public Member Functions
This first signature is giving main character energy:
FileOperationFailed (const char *description=0, const char
*source_file=0, int line=0, const char *filename=0, FileOperation
operation=Unknown, const ClassDesc *class_desc=0, const char
*exception_type='FileOperationFailed') throw ()
Then this other overload shows up:
FileOperationFailed (const FileOperationFailed &) throw ()
filename() is right here:
const char * filename () const throw ()
Returns the file name of the file that caused the error, if known. π
And operation() is:
FileOperation operation () const throw ()
π¦ Detailed Description π¦
Yep, bestie, same energy: this is thrown when an operation on a file fails. No cap, that's the whole vibe. π
π Member Function Documentation π
const char* sc::FileOperationFailed::filename () const [inline]
Returns the file name of the file that caused the error, if known. Otherwise 0 is returned. That's it, that's the tea. π
π Author π
Generated automatically by Doxygen for MPQC from the source code. Iconic behavior, honestly. β¨
Mwah π β this is MPQC version 2.3.1, dated Sun Oct 4 2020. That's the footer vibe, and we are so done, bestie. Slay. ππ
π¦ 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