|
Theoretica
Mathematical Library
|
Error handling for IO operations. More...
#include <string>#include <cerrno>Go to the source code of this file.
Namespaces | |
| namespace | theoretica |
| Main namespace of the library which contains all functions and objects. | |
| namespace | theoretica::io |
| Input and output module. | |
Enumerations | |
| enum class | theoretica::io::IoError : int { theoretica::io::None = 0x00 , theoretica::io::FileNotFound = 0x01 , theoretica::io::PermissionDenied = 0x02 , theoretica::io::ReadError = 0x04 , theoretica::io::WriteError = 0x08 , theoretica::io::FormatError = 0x10 , theoretica::io::EndOfFile = 0x20 } |
| IO error enumeration. More... | |
Functions | |
| int | theoretica::io::to_errno (IoError err) |
| Convert an IoError class enum to conventional errno codes. | |
| const char * | theoretica::io::to_cstring (IoError err) |
| Convert an IoError class enum to a string description. | |
Error handling for IO operations.