Files
FS/include/fs/Error.h
T
jeanlemotan b344afa9fe First
2024-07-02 18:12:23 +02:00

28 lines
313 B
C++

#pragma once
#include "tl/result.h"
namespace fs
{
class ISource;
class IStreamSource;
class IMapSource;
class ISink;
class IStreamSink;
class IMapSink;
enum class ErrorCode : uint8_t
{
BadPath,
InvalidArgument,
NotFound,
NotAllowed,
SystemError,
NotSupported
};
typedef tl::error<ErrorCode> Error;
}