Status.h File Reference
#include <WString.h>
#include <IFS/Error.h>
Include dependency graph for Status.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  ConfigDB::Status
 
struct  ConfigDB::Status::Code
 

Namespaces

 ConfigDB
 

Macros

#define CONFIGDB_ERROR_MAP(XX)
 
#define CONFIGDB_FORMAT_ERROR_MAP(XX)
 
#define XX(err)   err,
 
#define XX(err)   err,
 

Enumerations

enum class  ConfigDB::Error { ConfigDB::XX }
 
enum class  ConfigDB::FormatError { ConfigDB::XX }
 

Functions

String toString (ConfigDB::Status status)
 
String toString (ConfigDB::FormatError error)
 

Macro Definition Documentation

◆ CONFIGDB_ERROR_MAP

#define CONFIGDB_ERROR_MAP (   XX)
Value:
XX(OK) \
XX(UpdateConflict) \
XX(FileError)
#define XX(err)
Definition: Status.h:49
FormatError
Definition: Status.h:48

ConfigDB/Status.h

Copyright 2024 mikee47 mike@.nosp@m.sill.nosp@m.yhous.nosp@m.e.ne.nosp@m.t

This file is part of the ConfigDB Library

This library is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 3 or later.

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this library. If not, see https://www.gnu.org/licenses/.

◆ CONFIGDB_FORMAT_ERROR_MAP

#define CONFIGDB_FORMAT_ERROR_MAP (   XX)
Value:
XX(BadSyntax) \
XX(BadType) \
XX(BadSelector) \
XX(BadIndex) \
XX(BadProperty) \
XX(NotInSchema) \
XX(UpdateConflict)

◆ XX [1/2]

#define XX (   err)    err,

◆ XX [2/2]

#define XX (   err)    err,

Function Documentation

◆ toString() [1/2]

String toString ( ConfigDB::FormatError  error)

◆ toString() [2/2]

String toString ( ConfigDB::Status  status)
inline