From ca2b6c6c8e6773ea5bc00485177d60ab286a4e69 Mon Sep 17 00:00:00 2001 From: shinyquagsire23 Date: Mon, 23 Oct 2017 15:19:07 -0600 Subject: [PATCH] file_sys/errors: Add ERROR_INSUFFICIENT_SPACE --- src/core/file_sys/errors.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/core/file_sys/errors.h b/src/core/file_sys/errors.h index a974bc775..38156e4f0 100644 --- a/src/core/file_sys/errors.h +++ b/src/core/file_sys/errors.h @@ -19,6 +19,7 @@ enum { FileAlreadyExists = 180, DirectoryAlreadyExists = 185, AlreadyExists = 190, + InsufficientSpace = 210, InvalidOpenFlags = 230, DirectoryNotEmpty = 240, NotAFile = 250, @@ -74,6 +75,8 @@ constexpr ResultCode ERROR_COMMAND_NOT_ALLOWED(ErrCodes::CommandNotAllowed, Erro ErrorSummary::WrongArgument, ErrorLevel::Permanent); constexpr ResultCode ERROR_EXEFS_SECTION_NOT_FOUND(ErrCodes::ExeFSSectionNotFound, ErrorModule::FS, 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. constexpr ResultCode ERR_INVALID_ARCHIVE_HANDLE(ErrCodes::ArchiveNotMounted, ErrorModule::FS,