PageRenderTime 57ms queryFilters 0ms Sphinxql 3166ms GetByIds 164ms meta 0ms repositoryFilters 7ms languageFilters 77ms sourceFilters 54ms

2,214,127 results for 'ERROR' (57 ms)

Source

Language

Repository

error.c git://github.com/trema/trema.git | C | 259 lines
146error_transaction_id( VALUE self ) {
147  struct ofp_error_msg *error = get_error( self );
148  uint32_t xid = ntohl( error->header.xid );
160error_data( VALUE self ) {
161  struct ofp_error_msg *error = get_error( self );
162  long length = ( long ) ( ntohs( error->header.length ) - sizeof( struct ofp_error_msg ) );
178error_type( VALUE self ) {
179  struct ofp_error_msg *error = get_error( self );
180  return UINT2NUM( ntohs( error->type ) );
190error_code( VALUE self ) {
191  struct ofp_error_msg *error = get_error( self );
192  return UINT2NUM( ntohs( error->code ) );
247  rb_define_method( cError, "data", error_data, 0 );
248  rb_define_method( cError, "error_type", error_type, 0 );
249  rb_define_method( cError, "code", error_code, 0 );
error.c git://github.com/FooBarWidget/rubyenterpriseedition187.git | C | 1,563 lines
904    }
905    if (!NIL_P(error)) err = strerror(NUM2LONG(error));
906    else err = "unknown error";
1004    rb_eStandardError = rb_define_class("StandardError", rb_eException);
1005    rb_eTypeError     = rb_define_class("TypeError", rb_eStandardError);
1006    rb_eArgError      = rb_define_class("ArgumentError", rb_eStandardError);
1007    rb_eIndexError    = rb_define_class("IndexError", rb_eStandardError);
1008    rb_eRangeError    = rb_define_class("RangeError", rb_eStandardError);
1009    rb_eNameError     = rb_define_class("NameError", rb_eStandardError);
1027    rb_eRuntimeError = rb_define_class("RuntimeError", rb_eStandardError);
1028    rb_eSecurityError = rb_define_class("SecurityError", rb_eStandardError);
1029    rb_eNoMemError = rb_define_class("NoMemoryError", rb_eException);
1031    syserr_tbl = st_init_numtable();
1032    rb_eSystemCallError = rb_define_class("SystemCallError", rb_eStandardError);
1033    rb_define_method(rb_eSystemCallError, "initialize", syserr_initialize, -1);
Error.hs git://github.com/JohnLato/language-objc.git | Haskell | 170 lines
18    -- * Error class
19    Error(..), errorPos, errorLevel, errorMsgs,
20    -- * Error 'supertype'
22    -- * Infos attached to errors
23    ErrorInfo(..),showError,showErrorInfo,mkErrorInfo,
24    -- * Default error types
92    fromError = Just
93    changeErrorLevel (CError e) = CError . changeErrorLevel e
94
123    errorInfo (UserError info) = info
124instance Show UserError where show = showError "User Error"
125
131showError :: (Error e) => String -> e -> String
132showError short_msg = showErrorInfo short_msg . errorInfo
133
error.c git://github.com/sakuramilk/sc02c_kernel_ics.git | C | 248 lines
176		{ 0x87, "DSA Sign Illegal test descriptor" },
177		{ 0x88, "Protocol Format Error - A protocol has seen an error "
178			"in the format of data received. When running RSA, "
195	};
196	u8 desc_error = status & JRSTA_DECOERR_ERROR_MASK;
197	int i;
201	for (i = 0; i < ARRAY_SIZE(desc_error_list); i++)
202		if (desc_error_list[i].value == desc_error)
203			break;
204
205	if (i != ARRAY_SIZE(desc_error_list) && desc_error_list[i].error_text) {
206		SPRINTFCAT(outstr, "%s", desc_error_list[i].error_text,
206		SPRINTFCAT(outstr, "%s", desc_error_list[i].error_text,
207			   strlen(desc_error_list[i].error_text));
208	} else {
error.py git://github.com/Jajcus/pyxmpp.git | Python | 537 lines
243                ns=c.ns().getContent()
244                if ns in (STREAM_ERROR_NS,STANZA_ERROR_NS):
245                    break
488            if not stanza_errors.has_key(xmlnode_or_cond):
489                raise ValueError, "Bad error condition"
490
490
491        ErrorNode.__init__(self,xmlnode_or_cond,STANZA_ERROR_NS,copy=copy,parent=parent)
492
494            if error_type is None:
495                error_type=stanza_errors[xmlnode_or_cond][1]
496            self.xmlnode.setProp("type",to_utf8(error_type))
510        Use the error code provided to select the condition and the
511        <error/> CDATA for the error text."""
512        ErrorNode.upgrade(self)
topics.error.txt git://github.com/yiisoft/yii.git | Plain Text | 160 lines
114
115In the above, we configure the [CErrorHandler::errorAction] property to be the route
116`site/error` which refers to the `error` action in `SiteController`. We may use a different
124{
125	if($error=Yii::app()->errorHandler->error)
126		$this->render('error', $error);
129
130In the action, we first retrieve the detailed error information from [CErrorHandler::error].
131If it is not empty, we render the `error` view together with the error information.
131If it is not empty, we render the `error` view together with the error information.
132The error information returned from [CErrorHandler::error] is an array with the following fields:
133
141
142> Tip: The reason we check if [CErrorHandler::error] is empty or not is because
143the `error` action may be directly requested by an end user, in which case there is no error.
error.sch git://github.com/spurious/larceny-mirror.git | Unknown | 242 lines
4;
5; Larceny library -- higher-level error system.
6
104
105; DECODE-ERROR takes a list (describing an error) and optionally
106; a port to print on (defaults to the current error port) and
111; key.  There are three cases, depending on the key:
112;  - a number:  The error is a primitive error.  There will be three
113;               additional values, the contents of RESULT, SECOND, and
125
126(define (decode-error the-error . rest)
127  (let ((who (car the-error))
161  (let* ((out (open-output-string))
162         (msg (begin (decode-error the-error out)
163                     (get-output-string out)))
Error.php git://github.com/RafeHatfield/BSIII.git | PHP | 286 lines
87				if ($log)
88					$log->error($error['title'] . ", Msg: " . $error['errstr'] . " in " . $error['errfile'] . "(" . $error['errline'] . ")");
89			break;
95				if ($log)
96					$log->warn($error['title'] . ", Msg: " . $error['errstr'] . " in " . $error['errfile'] . "(" . $error['errline'] . ")");
97			break;
103				if ($log)
104					$log->error($error['title'] . ", Msg: " . $error['errstr'] . " in " . $error['errfile'] . "(" . $error['errline'] . ")");
105			break;
119				if ($log)
120					$log->error($error['title'] . ", Msg: " . $error['errstr'] . " in " . $error['errfile'] . "(" . $error['errline'] . ")");
121			break;
127				if ($log)
128					$log->warn($error['title'] . ", Msg: " . $error['errstr'] . " in " . $error['errfile'] . "(" . $error['errline'] . ")");
129			break;
Error.php git://github.com/RafeHatfield/BSIII.git | PHP | 286 lines
87				if ($log)
88					$log->error($error['title'] . ", Msg: " . $error['errstr'] . " in " . $error['errfile'] . "(" . $error['errline'] . ")");
89			break;
95				if ($log)
96					$log->warn($error['title'] . ", Msg: " . $error['errstr'] . " in " . $error['errfile'] . "(" . $error['errline'] . ")");
97			break;
103				if ($log)
104					$log->error($error['title'] . ", Msg: " . $error['errstr'] . " in " . $error['errfile'] . "(" . $error['errline'] . ")");
105			break;
119				if ($log)
120					$log->error($error['title'] . ", Msg: " . $error['errstr'] . " in " . $error['errfile'] . "(" . $error['errline'] . ")");
121			break;
127				if ($log)
128					$log->warn($error['title'] . ", Msg: " . $error['errstr'] . " in " . $error['errfile'] . "(" . $error['errline'] . ")");
129			break;
error.html git://github.com/debrouxl/gcc4ti.git | HTML | 417 lines
29<H3><U>Language Extensions</U></H3>
30<DL INDENT="20"><DT><B><A HREF="#ENDFINAL">ENDFINAL</A></B><DD>Terminates a TRY...FINALLY...ENDFINAL block.<IMG WIDTH="1" HEIGHT="20" ALIGN="TOP"><DT><B><A HREF="#ENDTRY">ENDTRY</A></B><DD>Terminates a TRY...ONERR...ENDTRY block.<IMG WIDTH="1" HEIGHT="20" ALIGN="TOP"><DT><B><A HREF="#FINALLY">FINALLY</A></B><DD>Begins the termination handler in a TRY...FINALLY...ENDFINAL block.<IMG WIDTH="1" HEIGHT="20" ALIGN="TOP"><DT><B><A HREF="#ONERR">ONERR</A></B><DD>Begins the error handler in a TRY...ONERR...ENDTRY block.<IMG WIDTH="1" HEIGHT="20" ALIGN="TOP"><DT><B><A HREF="#PASS">PASS</A></B><DD>Passes on unhandled errors to a higher level.<IMG WIDTH="1" HEIGHT="20" ALIGN="TOP"><DT><B><A HREF="#TRY">TRY</A></B><DD>Starts a protected block of code.</DL>
31<H3><U>Functions</U></H3>
31<H3><U>Functions</U></H3>
32<DL INDENT="20"><DT><B><A HREF="#ER_catch">ER_catch</A></B><DD>Catches an error.<IMG WIDTH="1" HEIGHT="20" ALIGN="TOP"><DT><B><A HREF="#ER_success">ER_success</A></B><DD>Pops the state from the error stack.<IMG WIDTH="1" HEIGHT="20" ALIGN="TOP"><DT><B><A HREF="#ER_throw">ER_throw</A></B><DD>Throws an error with a constant number.<IMG WIDTH="1" HEIGHT="20" ALIGN="TOP"><DT><B><A HREF="#ER_throwVar">ER_throwVar</A></B><DD>Throws an error.<IMG WIDTH="1" HEIGHT="20" ALIGN="TOP"><DT><B><A HREF="#ERD_dialog">ERD_dialog</A></B><DD>Displays an error dialog box.<IMG WIDTH="1" HEIGHT="20" ALIGN="TOP"><DT><B><A HREF="#ERD_dismissNotice">ERD_dismissNotice</A></B><DD>Removes the error notice displayed by a prior call to <A HREF="#ERD_notice">ERD_notice</A>.<IMG WIDTH="1" HEIGHT="20" ALIGN="TOP"><DT><B><A HREF="#ERD_notice">ERD_notice</A></B><DD>Displays an error notice.<IMG WIDTH="1" HEIGHT="20" ALIGN="TOP"><DT><B><A HREF="#ERD_process">ERD_process</A></B><DD>Processes an error.<IMG WIDTH="1" HEIGHT="20" ALIGN="TOP"><DT><B><A HREF="#find_error_message">find_error_message</A></B><DD>Returns a TI-Basic error message string.</DL>
33<H3><U>Global Variables</U></H3>
35<H3><U>Predefined Types</U></H3>
36<DL INDENT="20"><DT><B><A HREF="alloc.html#Bool">Bool</A></B><DD>An enumeration to describe true or false values.<IMG WIDTH="1" HEIGHT="20" ALIGN="TOP"><DT><B><A HREF="#ERROR_FRAME">ERROR_FRAME</A></B><DD>A type designed for capturing a task state.<IMG WIDTH="1" HEIGHT="20" ALIGN="TOP"><DT><B><A HREF="#ErrorCodes">ErrorCodes</A></B><DD>An enumeration containing all error codes.</DL>
37<HR>
142be executed if there was no error, and it is assumed to either handle the
143error or call <A HREF="#PASS">PASS</A>. The error is cleared, so if
144<A HREF="#PASS">PASS</A> is not called, the execution continues
402<H3><A NAME="ErrorCodes"><U>ErrorCodes</U></A></H3>
403<P><TABLE BORDER="1" CELLPADDING="2"><TR><TD CLASS="CODE"><B><A HREF="keywords.html#enum">enum</A></B> ErrorCodes {ER_OK = 0, ER_OKAY = 0, ER_EXIT = 1, ER_STOP = 2, ER_OFF = 3, ER_PRGM_STOP = 4, ER_NO_MSG = 9, ER_FUNC_DID_NOT_RETURN_VALUE = 10, ER_TEST_NOT_TRUE_OR_FALSE = 20, ER_ARG_CANNOT_BE_FOLDER = 30, ER_ARGUMENT = 40, ER_ARG_MISMATCH = 50, ER_EXPECTED_BOOL_OR_AGG = 60, ER_ARG_MUST_BE_DECIMAL = 70, ER_ARG_MUST_BE_LABEL = 80, ER_ARGUMENT_MUST_BE_LIST = 90, ER_ARG_MUST_BE_MATRIX = 100, ER_ARG_MUST_BE_PIC = 110, ER_ARG_MUST_BE_PIC_OR_STR = 120, ER_ARG_MUST_BE_STRING = 130, ER_EXPECTED_VAR = 140, ER_ARG_MUST_BE_EMPTY_FOLDER = 150, ER_EXPECTED_ALGEBRAIC = 160, ER_ASAP_TOO_LONG = 161, ER_ATTRIBUTE_NOT_FOUND = 163, ER_BATT_LOW = 165, ER_BOUND = 170, ER_BREAK = 180, ER_CHECKSUM = 185, ER_CIRCULAR_DEFINITION = 190, ER_INVALID_SUCH_THAT = 200, ER_DATATYPE = 210, ER_DEPENDENT_LIMIT = 220, ER_DIFF_EQ_SETUP = 225, ER_DIMENSION = 230, ER_NOT_ENOUGH_ELEMENTS = 230, ER_NON_CONFORMING_LISTS = 240, ER_DIVBY0 = 250, ER_DOMAIN = 260, ER_DUPLICATE_VAR_NAME = 270, ER_ELSEIF_WITHOUT_IF = 280, ER_ELSE_WITHOUT_IF = 280, ER_ENDTRY_WITHOUT_ELSE = 290, ER_EXCESSIVE_ITERATION = 295, ER_EXPECTED_2OR3_ELEMENTS = 300, ER_EXPIRED = 305, ER_APP_EXT_NOT_FOUND = 307, ER_APP_NOT_FOUND = 308, ER_INVALID_NSOLVE_ARG1 = 310, ER_INVALID_SOLVE_ARG1 = 320, ER_FOLDER = 330, ER_FUNCS_IN_DIFF_EQ = 335, ER_INCONSISTENT_UNITS = 345, ER_INVALID_SUBSCRIPT = 350, ER_INVALID_INDIR_STRING = 360, ER_INDIR_STRING_NOT_VARNAME = 360, ER_INDIR_STRING_NOT_FUNNAME = 360, ER_INVALID_ANS = 380, ER_ILLEGAL_ASSIGNMENT = 390, ER_ILLEGAL_ASSIGNMENT_VALUE = 400, ER_INVALID_AXES = 405, ER_ILLEGAL_COMMAND = 410, ER_INVALID_FOLDER_NAME = 420, ER_GRAPH_MODE = 430, ER_INVALID_GUESS = 435, ER_INVALID_IMPLIED_MULT = 440, ER_ILLEGAL_IN_FUNC = 450, ER_ILLEGAL_IN_CUSTOM = 460, ER_ILLEGAL_IN_DIALOG = 470, ER_ILLEGAL_IN_TOOLBAR = 480, ER_CANNOT_EXIT_FROM_TRY = 490, ER_CANNOT_CYCLE_FROM_TRY = 490, ER_CANNOT_GOTO_FROM_TRY = 490, ER_CANNOT_GOTO_INTO_TRY = 490, ER_INVALID_LABEL = 500, ER_INVALID_LIST_OR_MATRIX = 510, ER_INVAL_OUTSIDE_TB_CM = 520, ER_INVAL_OUTSIDE_DG_TB_CM = 530, ER_INVALID_OUTSIDE_DIALOG = 540, ER_MUST_BE_IN_PRGM_OR_FUNC = 550, ER_CYCLE_NOT_IN_LOOP = 560, ER_EXIT_NOT_IN_LOOP = 560, ER_INVALID_PATHNAME = 570, ER_INVALID_POLAR_COMPLEX = 575, ER_ILLEGAL_PRGM_REF = 580, ER_INVALID_SYNTAX_BLOCK = 590, ER_INVALID_TABLE = 600, ER_INVALID_USE_OF_UNITS = 605, ER_INVALID_LOCAL_DECLARATION = 610, ER_EXPECTED_VAR_OR_FUNC = 620, ER_INVALID_VAR_REF = 630, ER_INVALID_VECTOR_SYNTAX = 640, ER_LINK_IO = 650, ER_MAT_NOT_DIAGONALIZABLE = 665, ER_MEMORY = 670, ER_MEMORY_EXHAUSTION = 670, ER_ESTACK_OVERFLOW = 670, ER_STACK_VIO = 673, ER_EXPECTED_LPAR = 680, ER_EXPECTED_RPAR = 690, ER_EXPECTED_DOUBLE_QUOTE = 700, ER_EXPECTED_RIGHT_BRACKET = 710, ER_EXPECTED_RIGHT_BRACE = 720, ER_INVALID_BLOCK_STRUCTURE = 730, ER_MISSING_THEN = 740, ER_NOT_FUNC_OR_PRGM = 750, ER_NO_FUNCS_SEL = 765, ER_NO_SOLUTION = 780, ER_NON_ALGEBRAIC_VARIABLE = 790, ER_UNREAL_RESULT = 800, ER_EXPECTED_REAL = 800, ER_MEMORY_DML = 810, ER_RATIONAL_NUMERIC_OVERFLOW = 830, ER_OVERFLOW = 830, ER_STAT_PLOT = 840, ER_PRGM_NOT_FOUND = 850, ER_RECURSION_TOO_DEEP = 860, ER_RESERVED = 870, ER_SYS_FUNC = 870, ER_ROM_ROUTINE_NOT_AVAILABLE = 875, ER_SEQUENCE_SETUP = 880, ER_SIGNATURE_ERR = 885, ER_SINGULARMAT = 890, ER_SLOPE_FIELD_FUNCS = 895, ER_WEIGHTS_SUM_NOT_POS = 900, ER_LISTS_CONTAIN_NEG = 900, ER_LISTS_NOT2DISCREET = 900, ER_EMPTY_GROUP_NOT_VALID = 900, ER_SYNTAX = 910, ER_UNEXPECTED_CHARACTER = 910, ER_EXPECTED_EQUAL = 910, ER_EXPECTED_FACTOR = 910, ER_TOO_FEW_ARGS = 930, ER_TOO_MANY_ARGS = 940, ER_TOO_MANY_SUBSCRIPTS = 950, ER_TOO_MANY_UNDEFINED = 955, ER_UNDEFINED_VAR = 960, ER_UNLICENSED = 965, ER_GRAPH_FUNC_IN_USE = 970, ER_PROG_OR_FUNC_IN_USE = 970, ER_VAR_IN_USE = 970, ER_LOCKED = 980, ER_PROTECTED = 980, ER_NAME_TOO_LONG = 990, ER_RANGE = 1000, ER_ZOOM = 1010, ER_ILLEGAL_TAG = 1020, ER_UNKNOWN_TAG = 1020, ER_DIVISION_BUG = 1020, ER_MEM_VIO = 1030, ER_FP_TEST_FAIL = 4094, EXPECTED_BOOL_OR_AGG_ERROR = 60, EXPECTED_VAR_ERROR = 140, EXPECTED_ALGEBRAIC_ERROR = 160, INVALID_SUCH_THAT_ERROR = 200, NON_CONFORMING_LISTS_ERROR = 240, EXPECTED_2OR3_ELEMENTS_ERROR = 300, INVALID_NSOLVE_ARG1_ERROR = 310, INVALID_SOLVE_ARG1_ERROR = 320, INVALID_PATHNAME_ERROR = 570, EXPECTED_VAR_OR_FUNC_ERROR = 620, MEMORY_EXHAUSTION_ERROR = 670, ESTACK_OVERFLOW_ERROR = 670, EXPECTED_LPAR_ERROR = 680, EXPECTED_RPAR_ERROR = 690, EXPECTED_DOUBLE_QUOTE_ERROR = 700, EXPECTED_RIGHT_BRACKET_ERROR = 710, EXPECTED_RIGHT_BRACE_ERROR = 720, UNREAL_RESULT_ERROR = 800, EXPECTED_REAL_ERROR = 800, RATIONAL_NUMERIC_OVERFLOW_ERROR = 830, RECURSION_TOO_DEEP_ERROR = 860, SYNTAX_ERROR = 910, UNEXPECTED_CHARACTER_ERROR = 910, EXPECTED_EQUAL_ERROR = 910, EXPECTED_FACTOR_ERROR = 910, TOO_FEW_ARGS_ERROR = 930, TOO_MANY_ARGS_ERROR = 940, TOO_MANY_SUBSCRIPTS_ERROR = 950, TOO_MANY_UNDEFINED_ERROR = 955, GRAPH_FUNC_IN_USE_ERROR = 970, NAME_TOO_LONG_ERROR = 990, ILLEGAL_TAG_ERROR = 1020, UNKNOWN_TAG_ERROR = 1020, DIVISION_BUG_ERROR = 1020};</TD></TR></TABLE></P>
404<P><B>An enumeration containing all error codes.</B></P>
error.html git://github.com/debrouxl/gcc4ti.git | HTML | 417 lines
29<H3><U>Language Extensions</U></H3>
30<DL INDENT="20"><DT><B><A HREF="#ENDFINAL">ENDFINAL</A></B><DD>Terminates a TRY...FINALLY...ENDFINAL block.<IMG WIDTH="1" HEIGHT="20" ALIGN="TOP"><DT><B><A HREF="#ENDTRY">ENDTRY</A></B><DD>Terminates a TRY...ONERR...ENDTRY block.<IMG WIDTH="1" HEIGHT="20" ALIGN="TOP"><DT><B><A HREF="#FINALLY">FINALLY</A></B><DD>Begins the termination handler in a TRY...FINALLY...ENDFINAL block.<IMG WIDTH="1" HEIGHT="20" ALIGN="TOP"><DT><B><A HREF="#ONERR">ONERR</A></B><DD>Begins the error handler in a TRY...ONERR...ENDTRY block.<IMG WIDTH="1" HEIGHT="20" ALIGN="TOP"><DT><B><A HREF="#PASS">PASS</A></B><DD>Passes on unhandled errors to a higher level.<IMG WIDTH="1" HEIGHT="20" ALIGN="TOP"><DT><B><A HREF="#TRY">TRY</A></B><DD>Starts a protected block of code.</DL>
31<H3><U>Functions</U></H3>
31<H3><U>Functions</U></H3>
32<DL INDENT="20"><DT><B><A HREF="#ER_catch">ER_catch</A></B><DD>Catches an error.<IMG WIDTH="1" HEIGHT="20" ALIGN="TOP"><DT><B><A HREF="#ER_success">ER_success</A></B><DD>Pops the state from the error stack.<IMG WIDTH="1" HEIGHT="20" ALIGN="TOP"><DT><B><A HREF="#ER_throw">ER_throw</A></B><DD>Throws an error with a constant number.<IMG WIDTH="1" HEIGHT="20" ALIGN="TOP"><DT><B><A HREF="#ER_throwVar">ER_throwVar</A></B><DD>Throws an error.<IMG WIDTH="1" HEIGHT="20" ALIGN="TOP"><DT><B><A HREF="#ERD_dialog">ERD_dialog</A></B><DD>Displays an error dialog box.<IMG WIDTH="1" HEIGHT="20" ALIGN="TOP"><DT><B><A HREF="#ERD_dismissNotice">ERD_dismissNotice</A></B><DD>Removes the error notice displayed by a prior call to <A HREF="#ERD_notice">ERD_notice</A>.<IMG WIDTH="1" HEIGHT="20" ALIGN="TOP"><DT><B><A HREF="#ERD_notice">ERD_notice</A></B><DD>Displays an error notice.<IMG WIDTH="1" HEIGHT="20" ALIGN="TOP"><DT><B><A HREF="#ERD_process">ERD_process</A></B><DD>Processes an error.<IMG WIDTH="1" HEIGHT="20" ALIGN="TOP"><DT><B><A HREF="#find_error_message">find_error_message</A></B><DD>Returns a TI-Basic error message string.</DL>
33<H3><U>Global Variables</U></H3>
35<H3><U>Predefined Types</U></H3>
36<DL INDENT="20"><DT><B><A HREF="alloc.html#Bool">Bool</A></B><DD>An enumeration to describe true or false values.<IMG WIDTH="1" HEIGHT="20" ALIGN="TOP"><DT><B><A HREF="#ERROR_FRAME">ERROR_FRAME</A></B><DD>A type designed for capturing a task state.<IMG WIDTH="1" HEIGHT="20" ALIGN="TOP"><DT><B><A HREF="#ErrorCodes">ErrorCodes</A></B><DD>An enumeration containing all error codes.</DL>
37<HR>
142be executed if there was no error, and it is assumed to either handle the
143error or call <A HREF="#PASS">PASS</A>. The error is cleared, so if
144<A HREF="#PASS">PASS</A> is not called, the execution continues
402<H3><A NAME="ErrorCodes"><U>ErrorCodes</U></A></H3>
403<P><TABLE BORDER="1" CELLPADDING="2"><TR><TD CLASS="CODE"><B><A HREF="keywords.html#enum">enum</A></B> ErrorCodes {ER_OK = 0, ER_OKAY = 0, ER_EXIT = 1, ER_STOP = 2, ER_OFF = 3, ER_PRGM_STOP = 4, ER_NO_MSG = 9, ER_FUNC_DID_NOT_RETURN_VALUE = 10, ER_TEST_NOT_TRUE_OR_FALSE = 20, ER_ARG_CANNOT_BE_FOLDER = 30, ER_ARGUMENT = 40, ER_ARG_MISMATCH = 50, ER_EXPECTED_BOOL_OR_AGG = 60, ER_ARG_MUST_BE_DECIMAL = 70, ER_ARG_MUST_BE_LABEL = 80, ER_ARGUMENT_MUST_BE_LIST = 90, ER_ARG_MUST_BE_MATRIX = 100, ER_ARG_MUST_BE_PIC = 110, ER_ARG_MUST_BE_PIC_OR_STR = 120, ER_ARG_MUST_BE_STRING = 130, ER_EXPECTED_VAR = 140, ER_ARG_MUST_BE_EMPTY_FOLDER = 150, ER_EXPECTED_ALGEBRAIC = 160, ER_ASAP_TOO_LONG = 161, ER_ATTRIBUTE_NOT_FOUND = 163, ER_BATT_LOW = 165, ER_BOUND = 170, ER_BREAK = 180, ER_CHECKSUM = 185, ER_CIRCULAR_DEFINITION = 190, ER_INVALID_SUCH_THAT = 200, ER_DATATYPE = 210, ER_DEPENDENT_LIMIT = 220, ER_DIFF_EQ_SETUP = 225, ER_DIMENSION = 230, ER_NOT_ENOUGH_ELEMENTS = 230, ER_NON_CONFORMING_LISTS = 240, ER_DIVBY0 = 250, ER_DOMAIN = 260, ER_DUPLICATE_VAR_NAME = 270, ER_ELSEIF_WITHOUT_IF = 280, ER_ELSE_WITHOUT_IF = 280, ER_ENDTRY_WITHOUT_ELSE = 290, ER_EXCESSIVE_ITERATION = 295, ER_EXPECTED_2OR3_ELEMENTS = 300, ER_EXPIRED = 305, ER_APP_EXT_NOT_FOUND = 307, ER_APP_NOT_FOUND = 308, ER_INVALID_NSOLVE_ARG1 = 310, ER_INVALID_SOLVE_ARG1 = 320, ER_FOLDER = 330, ER_FUNCS_IN_DIFF_EQ = 335, ER_INCONSISTENT_UNITS = 345, ER_INVALID_SUBSCRIPT = 350, ER_INVALID_INDIR_STRING = 360, ER_INDIR_STRING_NOT_VARNAME = 360, ER_INDIR_STRING_NOT_FUNNAME = 360, ER_INVALID_ANS = 380, ER_ILLEGAL_ASSIGNMENT = 390, ER_ILLEGAL_ASSIGNMENT_VALUE = 400, ER_INVALID_AXES = 405, ER_ILLEGAL_COMMAND = 410, ER_INVALID_FOLDER_NAME = 420, ER_GRAPH_MODE = 430, ER_INVALID_GUESS = 435, ER_INVALID_IMPLIED_MULT = 440, ER_ILLEGAL_IN_FUNC = 450, ER_ILLEGAL_IN_CUSTOM = 460, ER_ILLEGAL_IN_DIALOG = 470, ER_ILLEGAL_IN_TOOLBAR = 480, ER_CANNOT_EXIT_FROM_TRY = 490, ER_CANNOT_CYCLE_FROM_TRY = 490, ER_CANNOT_GOTO_FROM_TRY = 490, ER_CANNOT_GOTO_INTO_TRY = 490, ER_INVALID_LABEL = 500, ER_INVALID_LIST_OR_MATRIX = 510, ER_INVAL_OUTSIDE_TB_CM = 520, ER_INVAL_OUTSIDE_DG_TB_CM = 530, ER_INVALID_OUTSIDE_DIALOG = 540, ER_MUST_BE_IN_PRGM_OR_FUNC = 550, ER_CYCLE_NOT_IN_LOOP = 560, ER_EXIT_NOT_IN_LOOP = 560, ER_INVALID_PATHNAME = 570, ER_INVALID_POLAR_COMPLEX = 575, ER_ILLEGAL_PRGM_REF = 580, ER_INVALID_SYNTAX_BLOCK = 590, ER_INVALID_TABLE = 600, ER_INVALID_USE_OF_UNITS = 605, ER_INVALID_LOCAL_DECLARATION = 610, ER_EXPECTED_VAR_OR_FUNC = 620, ER_INVALID_VAR_REF = 630, ER_INVALID_VECTOR_SYNTAX = 640, ER_LINK_IO = 650, ER_MAT_NOT_DIAGONALIZABLE = 665, ER_MEMORY = 670, ER_MEMORY_EXHAUSTION = 670, ER_ESTACK_OVERFLOW = 670, ER_STACK_VIO = 673, ER_EXPECTED_LPAR = 680, ER_EXPECTED_RPAR = 690, ER_EXPECTED_DOUBLE_QUOTE = 700, ER_EXPECTED_RIGHT_BRACKET = 710, ER_EXPECTED_RIGHT_BRACE = 720, ER_INVALID_BLOCK_STRUCTURE = 730, ER_MISSING_THEN = 740, ER_NOT_FUNC_OR_PRGM = 750, ER_NO_FUNCS_SEL = 765, ER_NO_SOLUTION = 780, ER_NON_ALGEBRAIC_VARIABLE = 790, ER_UNREAL_RESULT = 800, ER_EXPECTED_REAL = 800, ER_MEMORY_DML = 810, ER_RATIONAL_NUMERIC_OVERFLOW = 830, ER_OVERFLOW = 830, ER_STAT_PLOT = 840, ER_PRGM_NOT_FOUND = 850, ER_RECURSION_TOO_DEEP = 860, ER_RESERVED = 870, ER_SYS_FUNC = 870, ER_ROM_ROUTINE_NOT_AVAILABLE = 875, ER_SEQUENCE_SETUP = 880, ER_SIGNATURE_ERR = 885, ER_SINGULARMAT = 890, ER_SLOPE_FIELD_FUNCS = 895, ER_WEIGHTS_SUM_NOT_POS = 900, ER_LISTS_CONTAIN_NEG = 900, ER_LISTS_NOT2DISCREET = 900, ER_EMPTY_GROUP_NOT_VALID = 900, ER_SYNTAX = 910, ER_UNEXPECTED_CHARACTER = 910, ER_EXPECTED_EQUAL = 910, ER_EXPECTED_FACTOR = 910, ER_TOO_FEW_ARGS = 930, ER_TOO_MANY_ARGS = 940, ER_TOO_MANY_SUBSCRIPTS = 950, ER_TOO_MANY_UNDEFINED = 955, ER_UNDEFINED_VAR = 960, ER_UNLICENSED = 965, ER_GRAPH_FUNC_IN_USE = 970, ER_PROG_OR_FUNC_IN_USE = 970, ER_VAR_IN_USE = 970, ER_LOCKED = 980, ER_PROTECTED = 980, ER_NAME_TOO_LONG = 990, ER_RANGE = 1000, ER_ZOOM = 1010, ER_ILLEGAL_TAG = 1020, ER_UNKNOWN_TAG = 1020, ER_DIVISION_BUG = 1020, ER_MEM_VIO = 1030, ER_FP_TEST_FAIL = 4094, EXPECTED_BOOL_OR_AGG_ERROR = 60, EXPECTED_VAR_ERROR = 140, EXPECTED_ALGEBRAIC_ERROR = 160, INVALID_SUCH_THAT_ERROR = 200, NON_CONFORMING_LISTS_ERROR = 240, EXPECTED_2OR3_ELEMENTS_ERROR = 300, INVALID_NSOLVE_ARG1_ERROR = 310, INVALID_SOLVE_ARG1_ERROR = 320, INVALID_PATHNAME_ERROR = 570, EXPECTED_VAR_OR_FUNC_ERROR = 620, MEMORY_EXHAUSTION_ERROR = 670, ESTACK_OVERFLOW_ERROR = 670, EXPECTED_LPAR_ERROR = 680, EXPECTED_RPAR_ERROR = 690, EXPECTED_DOUBLE_QUOTE_ERROR = 700, EXPECTED_RIGHT_BRACKET_ERROR = 710, EXPECTED_RIGHT_BRACE_ERROR = 720, UNREAL_RESULT_ERROR = 800, EXPECTED_REAL_ERROR = 800, RATIONAL_NUMERIC_OVERFLOW_ERROR = 830, RECURSION_TOO_DEEP_ERROR = 860, SYNTAX_ERROR = 910, UNEXPECTED_CHARACTER_ERROR = 910, EXPECTED_EQUAL_ERROR = 910, EXPECTED_FACTOR_ERROR = 910, TOO_FEW_ARGS_ERROR = 930, TOO_MANY_ARGS_ERROR = 940, TOO_MANY_SUBSCRIPTS_ERROR = 950, TOO_MANY_UNDEFINED_ERROR = 955, GRAPH_FUNC_IN_USE_ERROR = 970, NAME_TOO_LONG_ERROR = 990, ILLEGAL_TAG_ERROR = 1020, UNKNOWN_TAG_ERROR = 1020, DIVISION_BUG_ERROR = 1020};</TD></TR></TABLE></P>
404<P><B>An enumeration containing all error codes.</B></P>
error-struct.ss git://github.com/bootstrapworld/wescheme-compiler2012.git | Scheme | 371 lines
5
6(define-struct moby-error (location error-type))
7
93(define-struct moby-error-type:check-error (expected observed))
94(define-struct moby-error-type:check-error-no-error (expected observed))
95
165      (moby-error-type:check-error? x)
166      (moby-error-type:check-error-no-error? x)
167      
320 
321 [struct moby-error-type:check-error ([expected string?] ;; the expected string of the error message
322                                      [observed string?])] ;; the observed string
322                                      [observed string?])] ;; the observed string
323 [struct moby-error-type:check-error-no-error ([expected string?]
324                                               [observed any/c])]
error.c git://github.com/apache/axis2-c.git | C | 566 lines
110        = "Service XML file is not found in the given path";
111    axutil_error_messages[AXIS2_ERROR_SVC_NAME_ERROR] = "Service name error";
112    axutil_error_messages[AXIS2_ERROR_TRANSPORT_SENDER_ERROR] = "Transport sender error";
181    /* core:transport:http */
182    axutil_error_messages[AXIS2_ERROR_HTTP_CLIENT_TRANSPORT_ERROR] = "Error occurred in transport";
183    axutil_error_messages[AXIS2_ERROR_HTTP_REQUEST_NOT_SENT]
312        = "Error in writing attribute with namespace prefix";
313    axutil_error_messages[AXIS2_ERROR_WRITING_COMMENT] = "Error in writing comment";
314    axutil_error_messages[AXIS2_ERROR_WRITING_DATA_SOURCE] = "Error in writing data source";
466
467    error = (axutil_error_t *)AXIS2_MALLOC(allocator, sizeof(axutil_error_t));
468    memset(error, 0, sizeof(axutil_error_t));
485    {
486        if(error->error_number > AXIS2_ERROR_NONE && error->error_number < AXUTIL_ERROR_MAX) /* TODO; This needs to be
487         fixed to include module defined and user defined errors */
Error.class.php git://github.com/jyr/MNPP.git | PHP | 419 lines
53        E_NOTICE             => 'notice',
54        E_CORE_ERROR         => 'error',
55        E_CORE_WARNING       => 'warning',
227    {
228        return PMA_Error::$errortype[$this->getNumber()];
229    }
233     *
234     * @uses    PMA_Error::$$errorlevel
235     * @uses    PMA_Error::getNumber()
239    {
240        return PMA_Error::$errorlevel[$this->getNumber()];
241    }
357    /**
358     * whether this error is a user error
359     *
Error.class.php git://github.com/phpmyadmin/phpmyadmin.git | PHP | 398 lines
48    static public $errorlevel = array (
49        E_ERROR              => 'error',
50        E_WARNING            => 'error',
61        E_DEPRECATED         => 'notice',
62        E_RECOVERABLE_ERROR  => 'error',
63    );
214    {
215        return PMA_Error::$errortype[$this->getNumber()];
216    }
224    {
225        return PMA_Error::$errorlevel[$this->getNumber()];
226    }
342    /**
343     * whether this error is a user error
344     *
Error.pm git://github.com/dwimperl/perl-5.14.2.1-32bit-windows.git | Perl | 1,035 lines
167	$trace =~ s/(\n\s+\S+__ANON__[^\n]+)?\n\s+eval[^\n]+\n\s+Error::subs::try[^\n]+(?=\n)//sog;
168	$trace =~ s/(\n\s+\S+__ANON__[^\n]+)?\n\s+eval[^\n]+\n\s+Error::subs::run_clauses[^\n]+\n\s+Error::subs::try[^\n]+(?=\n)//sog;
169	$err->{'-stacktrace'} = $trace
834
835If the variable C<$Error::Debug> was non-zero when the error was
836created, then C<stacktrace> returns a string created by calling
882A method that will return a value that can be associated with the
883error. For example if an error was created due to the failure of a
884system call, then this may return the numeric value of C<$!> at the
930    {
931        local $Error::ObjectifyCallback = \&throw_MyError_Bar;
932
999
1000L<Error::Exception> aims to combine L<Error> and L<Exception::Class>
1001"with correct stringification".
Error.pod git://github.com/dwimperl/perl-5.14.2.1-32bit-windows.git | Unknown | 258 lines
10          if (ref($@)) {
11            # handle a structured error (XML::LibXML::Error object)
12          } elsif ($@) {
12          } elsif ($@) {
13            # error, but not an XML::LibXML::Error object
14          } else {
38
39The XML::LibXML::Error class is a tiny frontend to I<<<<<< libxml2 >>>>>>'s structured error support. If XML::LibXML is compiled with structured error
40support, all errors reported by libxml2 are transformed to XML::LibXML::Error
137
138XML_ERR_ERROR = 2 : A recoverable error.
139
231This field can possibly hold a reference to another XML::LibXML::Error object
232representing an error which occurred just before this error.
233
error.py git://github.com/Jajcus/pyxmpp2.git | Python | 439 lines
33
34from .constants import STANZA_ERROR_NS, STREAM_ERROR_NS
35from .constants import STREAM_QNP, STANZA_ERROR_QNP, STREAM_ERROR_QNP
261                for prefix in (STREAM_QNP, STANZA_CLIENT_QNP, STANZA_SERVER_QNP,
262                                            STANZA_ERROR_QNP, STREAM_ERROR_QNP):
263                    if child.tag.startswith(prefix):
384                raise ValueError(u"Bad error namespace {0!r}".format(namespace))
385            self.error_qname = u"{{{0}}}error".format(namespace)
386            self.text_qname = u"{{{0}}}text".format(namespace)
409        if error_type:
410            self.error_type = error_type
411
432        if stanza_namespace:
433            self.error_qname = "{{{0}}}error".format(stanza_namespace)
434            self.text_qname = "{{{0}}}text".format(stanza_namespace)
Error.pm git://github.com/eych/Stuffed-System.git | Perl | 538 lines
206#
207# Is used to log an error message to the Stuffed System all errors log, if this type of 
208# logging is turned on.
222	
223	# logging error in all errors log if log_all_errors option is on in config
224	return undef if not $config or not $config->get('log_all_errors');
314#
315# Tries to log a specified error to the Stuffed System error log (if logging
316# is switched on). The location of the log file is taken from "critical_errors_file"
329	
330	# logging error in the system error log if log_errors option is on in config
331	return undef if not $config or not $config->get('log_critical_errors'); 
358# A die handler, it is specified as a reference to CGI::Carp when Stuffed System
359# initializes. It will try to log an error to the Stuffed System error
360# log (if logging is switched on). At the end, it always stops the system
Error.pm git://github.com/bioperl/bioperl-dev.git | Perl | 741 lines
130	$trace =~ s/(\n\s+\S+__ANON__[^\n]+)?\n\s+eval[^\n]+\n\s+Error::subs::try[^\n]+(?=\n)//sog;
131	$trace =~ s/(\n\s+\S+__ANON__[^\n]+)?\n\s+eval[^\n]+\n\s+Error::subs::run_clauses[^\n]+\n\s+Error::subs::try[^\n]+(?=\n)//sog;
132	$err->{'-stacktrace'} = $trace
614
615Create a new C<Error> object and throw an error, which will be caught
616by a surrounding C<try> block, if there is one. Otherwise it will cause
643
644Return the last error created, or the last error associated with
645C<PACKAGE>
654
655If the variable C<$Error::Debug> was non-zero when the error was
656created, then C<stacktrace> returns a string created by calling
695A method that will return a value that can be associated with the
696error. For example if an error was created due to the failure of a
697system call, then this may return the numeric value of C<$!> at the
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21