Return an error code when connecting to a saturated port.

The error code was taken from the 3DS kernel.
This commit is contained in:
Subv 2016-12-05 13:59:57 -05:00
parent 61a2fe8c3b
commit c93c5a72bb
5 changed files with 20 additions and 7 deletions

View file

@ -18,6 +18,7 @@ enum class ErrorDescription : u32 {
Success = 0,
WrongPermission = 46,
OS_InvalidBufferDescriptor = 48,
MaxConnectionsReached = 52,
WrongAddress = 53,
FS_ArchiveNotMounted = 101,
FS_FileNotFound = 112,