Mercurial > projects > dstep
annotate dstep/foundation/FoundationErrors.d @ 16:19885b43130e
Huge update, the bridge actually works now
author | Jacob Carlborg <doob@me.com> |
---|---|
date | Sun, 03 Jan 2010 22:06:11 +0100 |
parents | 89f3c3ef1fd2 |
children |
rev | line source |
---|---|
14 | 1 /** |
2 * Copyright: Copyright (c) 2009 Jacob Carlborg. | |
3 * Authors: Jacob Carlborg | |
4 * Version: Initial created: Aug 3, 2009 | |
5 * License: $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost Software License 1.0) | |
6 */ | |
7 module dstep.foundation.FoundationErrors; | |
8 | |
9 import dstep.foundation.NSObject; | |
10 import dstep.objc.bridge.Bridge; | |
16
19885b43130e
Huge update, the bridge actually works now
Jacob Carlborg <doob@me.com>
parents:
14
diff
changeset
|
11 import dstep.objc.objc; |
19885b43130e
Huge update, the bridge actually works now
Jacob Carlborg <doob@me.com>
parents:
14
diff
changeset
|
12 |
19885b43130e
Huge update, the bridge actually works now
Jacob Carlborg <doob@me.com>
parents:
14
diff
changeset
|
13 |
14 | 14 |
15 enum | |
16 { | |
17 NSFileNoSuchFileError = 4, | |
18 NSFileLockingError = 255, | |
19 NSFileReadUnknownError = 256, | |
20 NSFileReadNoPermissionError = 257, | |
21 NSFileReadInvalidFileNameError = 258, | |
22 NSFileReadCorruptFileError = 259, | |
23 NSFileReadNoSuchFileError = 260, | |
24 NSFileReadInapplicableStringEncodingError = 261, | |
25 NSFileReadUnsupportedSchemeError = 262, | |
26 NSFileReadTooLargeError = 263, | |
27 NSFileReadUnknownStringEncodingError = 264, | |
28 NSFileWriteUnknownError = 512, | |
29 NSFileWriteNoPermissionError = 513, | |
30 NSFileWriteInvalidFileNameError = 514, | |
31 NSFileWriteInapplicableStringEncodingError = 517, | |
32 NSFileWriteUnsupportedSchemeError = 518, | |
33 NSFileWriteOutOfSpaceError = 640, | |
34 NSKeyValueValidationError = 1024, | |
35 NSFormattingError = 2048, | |
36 NSUserCancelledError = 3072, | |
37 NSExecutableNotLoadableError = 3584, | |
38 NSExecutableArchitectureMismatchError = 3585, | |
39 NSExecutableRuntimeMismatchError = 3586, | |
40 NSExecutableLoadError = 3587, | |
41 NSExecutableLinkError = 3588, | |
42 NSFileErrorMinimum = 0, | |
43 NSFileErrorMaximum = 1023, | |
44 NSValidationErrorMinimum = 1024, | |
45 NSValidationErrorMaximum = 2047, | |
46 NSExecutableErrorMinimum = 3584, | |
47 NSExecutableErrorMaximum = 3839, | |
48 NSFormattingErrorMinimum = 2048, | |
49 NSFormattingErrorMaximum = 2559 | |
50 } | |
51 |