UTErrorCodes.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025 #ifndef _UT_H_
00026 #error "DO NOT INCLUDE THIS FILE - INCLUDE UT.h INSTEAD"
00027 #endif
00028
00029 #ifdef _UT_ERROR_CODES_H_
00030 #error "DO NOT INCLUDE THIS FILE - INCLUDE UT.h INSTEAD"
00031 #endif
00032
00033 #define _UT_ERROR_CODES_H_
00034
00035
00036
00037
00038
00039
00040
00042 #define eERR_not_implemented ERROR_CODE(eERR_unknown_error + 0x001)
00043 DEFINE_USER_ERROR( eERR_not_implemented,
00044 "Not implemented yet" )
00045
00046
00047
00048 #define eERR_previous_operation_failed ERROR_CODE(eERR_unknown_error + 0x002)
00049 DEFINE_USER_ERROR( eERR_previous_operation_failed,
00050 "Previous failed operation prevents further operations" )
00051
00052
00053
00054
00055
00056
00057
00058 #define eERR_invalid_utf8 ERROR_CODE(eERR_unknown_error + 0x010)
00059 DEFINE_USER_ERROR( eERR_invalid_utf8,
00060 "Invalid UTF8 byte sequence" )
00061
00062
00063 #define eERR_invalid_ascii ERROR_CODE(eERR_unknown_error + 0x011)
00064 DEFINE_USER_ERROR( eERR_invalid_ascii,
00065 "Invalid ASCII byte sequence" )
00066
00067
00068 #define eERR_unicode_out_of_bounds ERROR_CODE(eERR_unknown_error + 0x012)
00069 DEFINE_USER_ERROR( eERR_unicode_out_of_bounds,
00070 "UNICODE character is out of bounds" )
00071
00072
00073
00074
00075
00076
00077
00078 #define eERR_invalid_path ERROR_CODE(eERR_unknown_error + 0x020)
00079 DEFINE_USER_ERROR( eERR_invalid_path,
00080 "Invalid path" )
00081
00082
00083
00084
00085
00086
00087
00088 #define eERR_invalid_version_resource ERROR_CODE(eERR_unknown_error + 0x030)
00089 DEFINE_USER_ERROR( eERR_invalid_version_resource,
00090 "Version resource is invalid" )
00091
00092
00093
00094
00095
00096
00097
00098
00099
00100
00101 #define eERR_async_io_in_progress ERROR_CODE(eERR_unknown_error + 0x040)
00102 DEFINE_USER_ERROR( eERR_async_io_in_progress,
00103 "Asynchronous I/O is now in progress; this should not have been treated as an error" )
00104
00105
00106 #define eERR_mismatched_async_io ERROR_CODE(eERR_unknown_error + 0x041)
00107 DEFINE_USER_ERROR( eERR_mismatched_async_io,
00108 "Asynchronous I/O parameters did not match previous call" )
00109
00110
00111 #define eERR_open_in_progress ERROR_CODE(eERR_unknown_error + 0x044)
00112 DEFINE_USER_ERROR( eERR_open_in_progress,
00113 "Asynchronous open is in progress" )
00114
00115
00116 #define eERR_async_read_in_progress ERROR_CODE(eERR_unknown_error + 0x045)
00117 DEFINE_USER_ERROR( eERR_async_read_in_progress,
00118 "Asynchronous read is in progress" )
00119
00120
00121 #define eERR_async_write_in_progress ERROR_CODE(eERR_unknown_error + 0x046)
00122 DEFINE_USER_ERROR( eERR_async_write_in_progress,
00123 "Asynchronous write is in progress" )
00124
00125
00126
00127 #define eERR_async_file_open_not_pending ERROR_CODE(eERR_unknown_error + 0x047)
00128 DEFINE_USER_ERROR( eERR_async_file_open_not_pending,
00129 "Asynchronous file open completion attempt was made when the file it is already opened" )
00130
00131
00132 #define eERR_file_not_open ERROR_CODE(eERR_unknown_error + 0x048)
00133 DEFINE_USER_ERROR( eERR_file_not_open,
00134 "A file was used without having been opened" )
00135
00136
00137 #define eERR_file_already_opened ERROR_CODE(eERR_unknown_error + 0x049)
00138 DEFINE_USER_ERROR( eERR_file_already_opened,
00139 "A file open was attempted when it is already opened" )
00140
00141
00142 #define eERR_end_of_file ERROR_CODE(eERR_unknown_error + 0x04a)
00143 DEFINE_USER_ERROR( eERR_end_of_file,
00144 "End of file" )
00145
00146
00147 #define eERR_backward_seek_not_supported ERROR_CODE(eERR_unknown_error + 0x050)
00148 DEFINE_USER_ERROR( eERR_backward_seek_not_supported,
00149 "Backward seek not supported by stream" )
00150
00151
00152
00153
00154
00155
00156
00157 #define eERR_bad_regexp ERROR_CODE(eERR_unknown_error + 0x060)
00158 DEFINE_USER_ERROR( eERR_bad_regexp,
00159 "Invalid regular expression" )
00160
00161
00162
00164 #define eERR_UT_last_builtin ERROR_CODE(eERR_unknown_error + 0x060)
00165