Components/IFS/src/include/IFS/Error.h File Reference
#include "Types.h"
Include dependency graph for Components/IFS/src/include/IFS/Error.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 IFS
 
 IFS::Error
 

Macros

#define IFS_ERROR_MAP(XX)
 IFS return codes. More...
 
#define XX(tag, text)   tag,
 
#define XX(tag, text)   constexpr int tag{-int(Value::tag)};
 

Typedefs

using IFS::ErrorCode = int
 

Enumerations

enum  IFS::Error::Value { IFS::Error::Value::XX, IFS::Error::Value::MAX }
 

Functions

String IFS::Error::toString (int err)
 get text for an error code More...
 
bool IFS::Error::isSystem (int err)
 Determine if the given IFS error code is system-specific. More...
 
int IFS::Error::fromSystem (int syscode)
 Translate system error code into IFS error code. More...
 
int IFS::Error::toSystem (int err)
 Translate IFS error code into SYSTEM code. More...
 

Variables

constexpr ErrorCode IFS::Error::USER {-100}
 
constexpr ErrorCode IFS::Error::SYSTEM {-1000}
 
constexpr ErrorCode IFS::FS_OK = Error::Success