summaryrefslogtreecommitdiffhomepage
path: root/Private/KernelKit/OSErr.hpp
blob: 6291695994196959c2826e13b9aa79ce05ef7f3e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/*
 *	========================================================
 *
 *	HCore
 * 	Copyright Mahrouss Logic, all rights reserved.
 *
 * 	========================================================
 */

#pragma once

#include <NewKit/Defines.hpp>

namespace HCore {
typedef Int32 OSErr;

inline constexpr OSErr kErrorExecutable = 33;
inline constexpr OSErr kErrorExecutableLib = 34;
inline constexpr OSErr kErrorFileNotFound = 35;
inline constexpr OSErr kErrorDirectoryNotFound = 36;
inline constexpr OSErr kErrorDiskReadOnly = 37;
inline constexpr OSErr kErrorDiskIsFull = 38;
inline constexpr OSErr kErrorProcessFault = 39;
inline constexpr OSErr kErrorSocketHangUp = 40;
inline constexpr OSErr kErrorThreadLocalStorage = 41;
inline constexpr OSErr kErrorMath = 42;
inline constexpr OSErr kErrorNoNetwork = 43;
inline constexpr OSErr kErrorHeapOutOfMemory = 44;
}  // namespace HCore