results: add capsrv results

This commit is contained in:
HookedBehemoth 2020-01-31 04:22:40 +01:00
parent 08c9b3cbf8
commit dcb511a141
2 changed files with 43 additions and 0 deletions

View File

@ -23,6 +23,7 @@
/* Official. */
#include "results/cal_results.hpp"
#include "results/capsrv_results.hpp"
#include "results/creport_results.hpp"
#include "results/debug_results.hpp"
#include "results/dmnt_results.hpp"

View File

@ -0,0 +1,42 @@
/*
* Copyright (c) 2018-2019 Atmosphère-NX
*
* This program is free software; you can redistribute it and/or modify it
* under the terms and conditions of the GNU General Public License,
* version 2, as published by the Free Software Foundation.
*
* This program is distributed in the hope it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
* more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#pragma once
#include "results_common.hpp"
namespace ams::capsrv {
R_DEFINE_NAMESPACE_RESULT_MODULE(206);
R_DEFINE_ERROR_RESULT(InvalidArgument, 2);
R_DEFINE_ERROR_RESULT(OutOfMemory, 3);
R_DEFINE_ERROR_RESULT(OutOfRange, 8);
R_DEFINE_ERROR_RESULT(InvalidFileId, 12);
R_DEFINE_ERROR_RESULT(InvalidStorageId, 13);
R_DEFINE_ERROR_RESULT(InvalidContentType, 14);
R_DEFINE_ERROR_RESULT(FailedToMountImageDirectory, 21);
R_DEFINE_ERROR_RESULT(FileTooBig, 23);
R_DEFINE_ERROR_RESULT(InvalidFileData, 24);
R_DEFINE_ERROR_RESULT(BufferInsufficient, 30);
R_DEFINE_ERROR_RESULT(TooManyFiles, 1401);
}