First
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
#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;
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user