file_sys/errors: Add ERROR_INSUFFICIENT_SPACE

This commit is contained in:
shinyquagsire23 2017-10-23 15:19:07 -06:00
parent ce806dcdf6
commit ca2b6c6c8e

View File

@ -19,6 +19,7 @@ enum {
FileAlreadyExists = 180, FileAlreadyExists = 180,
DirectoryAlreadyExists = 185, DirectoryAlreadyExists = 185,
AlreadyExists = 190, AlreadyExists = 190,
InsufficientSpace = 210,
InvalidOpenFlags = 230, InvalidOpenFlags = 230,
DirectoryNotEmpty = 240, DirectoryNotEmpty = 240,
NotAFile = 250, NotAFile = 250,
@ -74,6 +75,8 @@ constexpr ResultCode ERROR_COMMAND_NOT_ALLOWED(ErrCodes::CommandNotAllowed, Erro
ErrorSummary::WrongArgument, ErrorLevel::Permanent); ErrorSummary::WrongArgument, ErrorLevel::Permanent);
constexpr ResultCode ERROR_EXEFS_SECTION_NOT_FOUND(ErrCodes::ExeFSSectionNotFound, ErrorModule::FS, constexpr ResultCode ERROR_EXEFS_SECTION_NOT_FOUND(ErrCodes::ExeFSSectionNotFound, ErrorModule::FS,
ErrorSummary::NotFound, ErrorLevel::Status); ErrorSummary::NotFound, ErrorLevel::Status);
constexpr ResultCode ERROR_INSUFFICIENT_SPACE(ErrCodes::InsufficientSpace, ErrorModule::FS,
ErrorSummary::OutOfResource, ErrorLevel::Status);
/// Returned when a function is passed an invalid archive handle. /// Returned when a function is passed an invalid archive handle.
constexpr ResultCode ERR_INVALID_ARCHIVE_HANDLE(ErrCodes::ArchiveNotMounted, ErrorModule::FS, constexpr ResultCode ERR_INVALID_ARCHIVE_HANDLE(ErrCodes::ArchiveNotMounted, ErrorModule::FS,