HDK
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
OP_Error.h
Go to the documentation of this file.
1
#ifndef __OP_Error__
2
#define __OP_Error__
3
4
#include <
UT/UT_ErrorManager.h
>
5
6
typedef
UT_ErrorSeverity
OP_ERROR
;
7
8
enum
OP_ErrorCodes
9
{
10
//
11
// Cooking errors
12
13
OP_ERR_CHAN_ERROR
= 0,
// 0: Evaluation of a channel failed
14
// Get the error from the channel lib
15
OP_ERR_INVALID_SRC
,
// 1: No source or source has error
16
OP_ERR_NUMSRC_TOO_FEW
,
// 2: Incorrect number of sources
17
OP_ERR_NUMSRC_TOO_MANY
,
// 3: Incorrect number of sources
18
OP_ERR_RECURSION
,
// 4: Recursion into OP cooking
19
OP_ERR_INTERRUPTED
,
// 5: Cook was interrupted
20
21
//
22
// File I/O errors
23
24
OP_ERR_UNKNOWN_OP
,
// 6: Unknown operator on load
25
OP_ERR_CORRUPT_FILE
,
// 7: Corrupt file, data wasn't what we expected
26
OP_ERR_MISSING_PARENT
,
// 8: Missing parent of node to load
27
OP_ERR_BAD_PARENT
,
// 9: Bad parent (i.e. parent is not a network)
28
29
OP_ERR_BAD_NODETYPE
,
// 10: Bad node type (warning)
30
OP_ERR_OPSAVE_NOT_HIP
,
// 11: File was created by opsave, not mwrite.
31
32
OP_ERR_BAD_INTRINSIC_BIN_PACKET
,
// 12: warning
33
OP_ERR_BAD_INTRINSIC_TOKEN
,
// 13: warning
34
35
OP_BAD_OPINPUT_READ
,
// 14: Bad operator-input
36
OP_ERROR_SAVE_INTRINSIC_FAILED
,
// 15: Operator Save Intrinsic data failed
37
OP_ERROR_OPERATOR_SAVE_FAILED
,
// 16: Operator Save failed
38
39
OP_LOAD_UNKNOWN_BINARY_FLAG
,
// 17:
40
OP_LOAD_UNKNOWN_ASCII_FLAG
,
// 18:
41
OP_BAD_FLAG_FORMAT
,
// 19:
42
OP_ERR_UNIX_CMD
,
// 20: Unix command execution failed
43
OP_ERR_UNIX_GET
,
// 21: Read from unix command failed
44
45
OP_MACRO_IS_EMPTY
,
// 22:
46
OP_MACRO_COOK_FAILED
,
// 23:
47
OP_MACROS_ONLY
,
// 24: Operation is only valid in a macro/sub-net
48
OP_MACRO_INVALID
,
// 25: Operation is not valid in a macro/sub-net
49
50
OP_WARNING_RENAME_EXPORT
,
// 26: Rename operation changed export
51
52
OP_BAD_CBGROUP_VERSION
,
// 27: Clipboard group load had bad version #
53
OP_BAD_CBGROUP_DEFINITION
,
// 28: Error in clipboard group file
54
55
OP_NO_NETWORK
,
// 29: No network set for %s
56
OP_NOTHING_TO_COPY
,
// 30: Nothing to copy.
57
OP_COPY_FAILED
,
// 31: Copy failed
58
OP_NOTHING_TO_PASTE
,
// 32: Nothing to paste.
59
60
OP_ERR_PERMISSION
,
// 33: Permission error
61
62
OP_ERR_ANYTHING
,
// 34: %s
63
64
OP_ERR_LOAD_COOK
,
// 35: Error loading cooked data
65
66
OP_WARN_BAD_CHREF
,
// 36: Bad channel reference
67
OP_WARN_RECURSIVE_CHREF
,
// 37: Recursive channel reference
68
69
OP_WARN_COULDNT_DELETE
,
// 38: Couldn't delete a particular node
70
71
OP_WARN_ERROR_SYNCING
,
// 39: Error syncing child with its definition.
72
73
OP_WARN_COULDNT_DELETE_NETBOX
,
// 40: Couldn't delete a particular netbox
74
OP_ERROR_NETBOX_SAVE_FAILED
,
// 41: Network Box Save failed
75
OP_WARN_STAMP_TOKEN_CONFLICT
,
// 42: Potential stamp conflict: %s.
76
OP_WARN_PARAM_DEPRECATED
,
// 43: Use of param() is deprecated.
77
OP_WARN_DELETE_CHANNEL
,
// 44: Deleted an unknown channel.
78
OP_WARN_SPARE_CHANNEL
,
// 45: Made spare parm for an unknown channel.
79
80
OP_WARN_DUMMY_DEFINITION
,
// 46: Node is using an incomplete definition.
81
OP_WARN_DUMMY_CHILD
,
// 47: "%s" is using incomplete definition.
82
OP_WARN_DUMMY_OPERATORS
,
// 48: Operators using incomplete definitions:%s
83
84
OP_PYTHON_ERROR
,
// 49: Python error: %s.
85
86
OP_LOADING_LOCKED
,
// 50: Ignoring data for locked node: %s
87
88
OP_ERROR_POSTIT_LOAD_FAILED
,
// 51: Post-it Note load failed
89
OP_ERROR_POSTIT_SAVE_FAILED
,
// 52: Post-it Note save failed
90
91
OP_WARN_BAD_OPREF
,
// 53: Bad node reference
92
93
OP_ERR_TRANSFORM
,
// 54: Error cooking transform of %s
94
95
OP_ERR_IGNORED_EXTRA_INPUTS
,
// 55: Ignored extraneous inputs on load
96
97
OP_ERR_INVALID_LICENSE
,
// 56: Asset has invalid license
98
99
OP_WARN_LOAD_OP_CONFLICT
,
// 57: Loaded node with conflicting name
100
101
OP_ERR_RECURSIVE_NODETYPE
,
// 58: Recursive node type (nested assets)
102
103
OP_WARN_COULDNT_DELETE_POSTIT
,
// 59: Couldn't delete a particular postit
104
OP_WARN_COULDNT_DELETE_DOT
,
// 60: Couldn't delete a particular dot
105
106
OP_ERROR_DOT_LOAD_FAILED
,
// 61: Dot load failed
107
108
OP_UNKNOWN_CONTEXT_OPTION
,
// 62: Expression queried unknown context option
109
OP_CONTEXT_OPTION_IS_STRING
,
// 63: Expression queried string option as int
110
OP_USING_LAST_COOK_CONTEXT_OPTION
,
// 64: Expression returned a context
111
// option value from the last cook
112
113
OP_ERR_NUM_ERROR_MSGS
// sentinel
114
};
115
116
#endif
OP_ErrorCodes
OP_ErrorCodes
Definition:
OP_Error.h:8
OP_NO_NETWORK
Definition:
OP_Error.h:55
OP_ERROR
UT_ErrorSeverity OP_ERROR
Definition:
OP_Error.h:6
OP_WARN_STAMP_TOKEN_CONFLICT
Definition:
OP_Error.h:75
OP_ERR_OPSAVE_NOT_HIP
Definition:
OP_Error.h:30
OP_ERROR_POSTIT_SAVE_FAILED
Definition:
OP_Error.h:89
OP_ERR_INVALID_SRC
Definition:
OP_Error.h:15
OP_ERR_NUMSRC_TOO_MANY
Definition:
OP_Error.h:17
OP_ERROR_POSTIT_LOAD_FAILED
Definition:
OP_Error.h:88
OP_BAD_CBGROUP_DEFINITION
Definition:
OP_Error.h:53
OP_ERR_TRANSFORM
Definition:
OP_Error.h:93
OP_ERR_CHAN_ERROR
Definition:
OP_Error.h:13
OP_WARN_COULDNT_DELETE
Definition:
OP_Error.h:69
OP_WARN_DUMMY_OPERATORS
Definition:
OP_Error.h:82
OP_WARN_SPARE_CHANNEL
Definition:
OP_Error.h:78
OP_CONTEXT_OPTION_IS_STRING
Definition:
OP_Error.h:109
OP_BAD_FLAG_FORMAT
Definition:
OP_Error.h:41
OP_BAD_CBGROUP_VERSION
Definition:
OP_Error.h:52
OP_ERR_UNIX_CMD
Definition:
OP_Error.h:42
OP_ERR_MISSING_PARENT
Definition:
OP_Error.h:26
OP_ERR_INTERRUPTED
Definition:
OP_Error.h:19
OP_PYTHON_ERROR
Definition:
OP_Error.h:84
OP_NOTHING_TO_PASTE
Definition:
OP_Error.h:58
OP_NOTHING_TO_COPY
Definition:
OP_Error.h:56
UT_ErrorSeverity
UT_ErrorSeverity
Definition:
UT_Error.h:25
OP_MACRO_INVALID
Definition:
OP_Error.h:48
OP_ERROR_NETBOX_SAVE_FAILED
Definition:
OP_Error.h:74
OP_WARN_BAD_CHREF
Definition:
OP_Error.h:66
OP_ERR_RECURSION
Definition:
OP_Error.h:18
OP_ERR_BAD_PARENT
Definition:
OP_Error.h:27
OP_ERR_NUMSRC_TOO_FEW
Definition:
OP_Error.h:16
OP_BAD_OPINPUT_READ
Definition:
OP_Error.h:35
OP_UNKNOWN_CONTEXT_OPTION
Definition:
OP_Error.h:108
OP_WARN_COULDNT_DELETE_DOT
Definition:
OP_Error.h:104
OP_WARN_RECURSIVE_CHREF
Definition:
OP_Error.h:67
OP_ERR_IGNORED_EXTRA_INPUTS
Definition:
OP_Error.h:95
OP_MACRO_COOK_FAILED
Definition:
OP_Error.h:46
OP_ERROR_SAVE_INTRINSIC_FAILED
Definition:
OP_Error.h:36
OP_ERR_BAD_NODETYPE
Definition:
OP_Error.h:29
OP_WARN_DUMMY_DEFINITION
Definition:
OP_Error.h:80
OP_ERR_NUM_ERROR_MSGS
Definition:
OP_Error.h:113
OP_ERROR_DOT_LOAD_FAILED
Definition:
OP_Error.h:106
OP_ERROR_OPERATOR_SAVE_FAILED
Definition:
OP_Error.h:37
OP_ERR_ANYTHING
Definition:
OP_Error.h:62
OP_ERR_PERMISSION
Definition:
OP_Error.h:60
OP_ERR_CORRUPT_FILE
Definition:
OP_Error.h:25
OP_WARNING_RENAME_EXPORT
Definition:
OP_Error.h:50
OP_WARN_LOAD_OP_CONFLICT
Definition:
OP_Error.h:99
OP_LOAD_UNKNOWN_ASCII_FLAG
Definition:
OP_Error.h:40
OP_WARN_PARAM_DEPRECATED
Definition:
OP_Error.h:76
OP_MACROS_ONLY
Definition:
OP_Error.h:47
OP_ERR_LOAD_COOK
Definition:
OP_Error.h:64
OP_LOAD_UNKNOWN_BINARY_FLAG
Definition:
OP_Error.h:39
OP_ERR_INVALID_LICENSE
Definition:
OP_Error.h:97
OP_MACRO_IS_EMPTY
Definition:
OP_Error.h:45
OP_WARN_BAD_OPREF
Definition:
OP_Error.h:91
OP_WARN_DELETE_CHANNEL
Definition:
OP_Error.h:77
OP_ERR_UNIX_GET
Definition:
OP_Error.h:43
OP_WARN_DUMMY_CHILD
Definition:
OP_Error.h:81
OP_ERR_BAD_INTRINSIC_TOKEN
Definition:
OP_Error.h:33
OP_ERR_RECURSIVE_NODETYPE
Definition:
OP_Error.h:101
OP_WARN_COULDNT_DELETE_POSTIT
Definition:
OP_Error.h:103
OP_ERR_BAD_INTRINSIC_BIN_PACKET
Definition:
OP_Error.h:32
OP_WARN_COULDNT_DELETE_NETBOX
Definition:
OP_Error.h:73
OP_COPY_FAILED
Definition:
OP_Error.h:57
OP_LOADING_LOCKED
Definition:
OP_Error.h:86
UT_ErrorManager.h
OP_WARN_ERROR_SYNCING
Definition:
OP_Error.h:71
OP_USING_LAST_COOK_CONTEXT_OPTION
Definition:
OP_Error.h:110
OP_ERR_UNKNOWN_OP
Definition:
OP_Error.h:24
OP
OP_Error.h
Generated on Fri Nov 8 2024 03:39:35 for HDK by
1.8.6