Libraries/DiskStorage/src/include/Storage/Disk/Error.h File Reference
#include <WString.h>
Include dependency graph for Libraries/DiskStorage/src/include/Storage/Disk/Error.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Namespaces | |
| Storage | |
| Storage::Disk | |
Macros | |
| #define | DISK_ERRORCODE_MAP(XX) |
| #define | XX(tag, ...) tag, |
Enumerations | |
| enum class | Storage::Disk::Error { Storage::Disk::XX } |
Functions | |
| bool | Storage::Disk::operator! (Error err) |
| String | toString (Storage::Disk::Error err) |
Macro Definition Documentation
◆ DISK_ERRORCODE_MAP
| #define DISK_ERRORCODE_MAP | ( | XX | ) |
Value:
XX(Success, "Success") \
XX(BadParam, "Invalid parameter(s)") \
XX(MisAligned, "Partition is mis-aligned") \
XX(OutOfRange, "Partition offset out of valid range") \
XX(NoSpace, "No room for partition(s)") \
XX(NoMem, "Memory allocation failed") \
XX(ReadFailure, "Media read failed") \
XX(WriteFailure, "Media write failed") \
XX(EraseFailure, "Media erase failed")
◆ XX
| #define XX | ( | tag, | |
| ... | |||
| ) | tag, |
Function Documentation
◆ toString()
| String toString | ( | Storage::Disk::Error | err | ) |
1.9.1