summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
Diffstat (limited to 'src/core')
-rw-r--r--src/core/hle/kernel/errors.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/core/hle/kernel/errors.h b/src/core/hle/kernel/errors.h
index 885259618..c87cdfa64 100644
--- a/src/core/hle/kernel/errors.h
+++ b/src/core/hle/kernel/errors.h
@@ -26,6 +26,7 @@ enum {
26 InvalidThreadPriority = 112, 26 InvalidThreadPriority = 112,
27 InvalidProcessorId = 113, 27 InvalidProcessorId = 113,
28 InvalidHandle = 114, 28 InvalidHandle = 114,
29 InvalidPointer = 115,
29 InvalidCombination = 116, 30 InvalidCombination = 116,
30 Timeout = 117, 31 Timeout = 117,
31 SynchronizationCanceled = 118, 32 SynchronizationCanceled = 118,
@@ -33,6 +34,7 @@ enum {
33 InvalidEnumValue = 120, 34 InvalidEnumValue = 120,
34 NoSuchEntry = 121, 35 NoSuchEntry = 121,
35 AlreadyRegistered = 122, 36 AlreadyRegistered = 122,
37 SessionClosed = 123,
36 InvalidState = 125, 38 InvalidState = 125,
37 ResourceLimitExceeded = 132, 39 ResourceLimitExceeded = 132,
38}; 40};
@@ -43,7 +45,7 @@ enum {
43 45
44// TODO(bunnei): Replace -1 with correct errors for Switch OS 46// TODO(bunnei): Replace -1 with correct errors for Switch OS
45constexpr ResultCode ERR_HANDLE_TABLE_FULL(ErrorModule::Kernel, ErrCodes::HandleTableFull); 47constexpr ResultCode ERR_HANDLE_TABLE_FULL(ErrorModule::Kernel, ErrCodes::HandleTableFull);
46constexpr ResultCode ERR_SESSION_CLOSED_BY_REMOTE(-1); 48constexpr ResultCode ERR_SESSION_CLOSED_BY_REMOTE(ErrorModule::Kernel, ErrCodes::SessionClosed);
47constexpr ResultCode ERR_PORT_NAME_TOO_LONG(ErrorModule::Kernel, ErrCodes::TooLarge); 49constexpr ResultCode ERR_PORT_NAME_TOO_LONG(ErrorModule::Kernel, ErrCodes::TooLarge);
48constexpr ResultCode ERR_MAX_CONNECTIONS_REACHED(ErrorModule::Kernel, 50constexpr ResultCode ERR_MAX_CONNECTIONS_REACHED(ErrorModule::Kernel,
49 ErrCodes::MaxConnectionsReached); 51 ErrCodes::MaxConnectionsReached);