#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;

}

