mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-04-06 06:05:40 +12:00
* Add NotImplemented error code * Add proper handling of SetAppCpuTimeLimit with invalid params Set default time limit to 0 * Add AppCpuTimeLimit tests * Replace spaces with tab
15 lines
694 B
C++
15 lines
694 B
C++
#pragma once
|
|
#include "result_common.hpp"
|
|
|
|
DEFINE_HORIZON_RESULT_MODULE(Result::OS, OS);
|
|
|
|
namespace Result::OS {
|
|
DEFINE_HORIZON_RESULT(PortNameTooLong, 30, InvalidArgument, Usage);
|
|
DEFINE_HORIZON_RESULT(InvalidCombination, 1006, InvalidArgument, Usage);
|
|
DEFINE_HORIZON_RESULT(MisalignedAddress, 1009, InvalidArgument, Usage);
|
|
DEFINE_HORIZON_RESULT(MisalignedSize, 1010, InvalidArgument, Usage);
|
|
DEFINE_HORIZON_RESULT(NotImplemented, 1012, InvalidArgument, Usage);
|
|
DEFINE_HORIZON_RESULT(InvalidHandle, 1015, WrongArgument, Permanent);
|
|
DEFINE_HORIZON_RESULT(OutOfRange, 1021, InvalidArgument, Usage);
|
|
DEFINE_HORIZON_RESULT(Timeout, 1022, StatusChanged, Info);
|
|
}; // namespace Result::OS
|