100+ results results for 'ERROR repo:teamblackout/evilz.213.blackout_edition' (8433 ms)
25import com.mogujie.tt.entity.User; 26import com.mogujie.tt.imlib.common.ErrorCode; 27import com.mogujie.tt.imlib.db.IMDbManager; 248 public void onLoginFailed(int errorCode) { 249 logger.i("login#onLoginFailed -> errorCode:%d", errorCode); 250 255 intent.putExtra(SysConstant.lOGIN_ERROR_CODE_KEY, errorCode); 256 if (errorCode == ErrorCode.E_MSG_SERVER_ERROR_CODE) { 257 intent.putExtra(SysConstant.KEY_MSG_SERVER_ERROR_CODE, msgServerErrorCode); 280 Intent intent = new Intent(IMActions.ACTION_LOGIN_RESULT); 281 intent.putExtra(SysConstant.lOGIN_ERROR_CODE_KEY, ErrorCode.S_OK); 282 if (ctx != null) { 479 // todo eric right now, no detail failed reason 480 onLoginFailed(ErrorCode.E_MSG_SERVER_ERROR_CODE); 481startup_stm32f102x6.s https://gitlab.com/balldir/BMP280_stm32f103 | Assembly | 355 lines
122 DCD I2C1_EV_IRQHandler ; I2C1 Event 123 DCD I2C1_ER_IRQHandler ; I2C1 Error 124 DCD 0 ; Reservedcpufreq.c https://bitbucket.org/sola/android_board_imx53qsb_kernel.git | C | 527 lines
273 274 printk(KERN_ERR "Error: No valid cpufreq relation\n"); 275 return cpu_freq_khz_max;module_test.rb https://gitlab.com/mpivaa/rails | Ruby | 509 lines
157 def test_missing_delegation_target 158 assert_raise(ArgumentError) do 159 Name.send :delegate, :nowhere 160 end 161 assert_raise(ArgumentError) do 162 Name.send :delegate, :noplace, :tos => :hollywood 185 def test_delegation_prefix_with_instance_variable 186 assert_raise ArgumentError do 187 Class.new do 208 project = Project.new(false, false) 209 assert_raise(NoMethodError) { project.name } 210 end 213 rails = Project.new("Rails", "David") 214 assert_raise(NoMethodError) { rails.name } 215 endMakefile https://bitbucket.org/cyanogenmod/android_kernel_lge_v909.git | Makefile | 386 lines
101 102ERRORS = \ 103 E2BIG \ 330 @( \ 331 echo -e "\n<!-- Error Codes -->") >>$@ 332 @( \ 333 for ident in $(ERRORS) ; do \ 334 echo "<!ENTITY $$ident \"<errorcode>$$ident</errorcode>" \ 335 "error code\">" >>$@ ; \crc.c https://gitlab.com/envieidoc/advancedtomato2 | C | 290 lines
67 * Reference: Dallas Semiconductor Application Note 27 68 * Williams, Ross N., "A Painless Guide to CRC Error Detection Algorithms", 69 * ver 3, Aug 1993, ross@guest.adelaide.edu.au, Rocksoft Pty Ltd., 138 * Reference: Dallas Semiconductor Application Note 27 139 * Williams, Ross N., "A Painless Guide to CRC Error Detection Algorithms", 140 * ver 3, Aug 1993, ross@guest.adelaide.edu.au, Rocksoft Pty Ltd., 206 * Reference: Dallas Semiconductor Application Note 27 207 * Williams, Ross N., "A Painless Guide to CRC Error Detection Algorithms", 208 * ver 3, Aug 1993, ross@guest.adelaide.edu.au, Rocksoft Pty Ltd.,rtc-imxdi.c https://gitlab.com/jhalayashraj/nkernel | C | 522 lines
56#define DSR_WCF (1 << 8) /* Write Complete Flag */ 57#define DSR_WEF (1 << 7) /* Write Error Flag */ 58#define DSR_CAF (1 << 4) /* Clock Alarm Flag */ 64#define DIER_WCIE (1 << 8) /* Write Complete Interrupt Enable */ 65#define DIER_WEIE (1 << 7) /* Write Error Interrupt Enable */ 66#define DIER_CAIE (1 << 4) /* Clock Alarm Interrupt Enable */ 120/* 121 * This function attempts to clear the dryice write-error flag. 122 * 122 * 123 * A dryice write error is similar to a bus fault and should not occur in 124 * normal operation. Clearing the flag requires another write, so the root 142 dev_err(&imxdi->pdev->dev, 143 "ERROR: Cannot clear write-error flag!\n"); 144}NdkCaptureRequest.h https://gitlab.com/jhalayashraj/android_frameworks_av4 | C Header | 309 lines
35#include <android/native_window.h> 36#include "NdkCameraError.h" 37#include "NdkCameraMetadata.h" 96 * be filled in the output argument.</li> 97 * <li>{@link ACAMERA_ERROR_INVALID_PARAMETER} if window or output is NULL.</li></ul> 98 * 119 * <li>{@link ACAMERA_OK} if the method call succeeds.</li> 120 * <li>{@link ACAMERA_ERROR_INVALID_PARAMETER} if request or output is NULL.</li></ul> 121 */ 134 * <li>{@link ACAMERA_OK} if the method call succeeds.</li> 135 * <li>{@link ACAMERA_ERROR_INVALID_PARAMETER} if request or output is NULL.</li></ul> 136 */ 152 * <li>{@link ACAMERA_OK} if the method call succeeds.</li> 153 * <li>{@link ACAMERA_ERROR_INVALID_PARAMETER} if metadata or entry is NULL.</li> 154 * <li>{@link ACAMERA_ERROR_METADATA_NOT_FOUND} if the capture request does not contain anfcntl-linux.h https://gitlab.com/infected_/linaro_aarch64-linux-gnu-5.3.x | C Header | 419 lines
19#ifndef _FCNTL_H 20# error "Never use <bits/fcntl-linux.h> directly; include <fcntl.h> instead." 21#endifcomponent.php https://gitlab.com/alexprowars/bitrix | PHP | 304 lines
5{ 6 ShowError(GetMessage("BLOG_MODULE_NOT_INSTALL")); 7 return; 45$arResult["OK_MESSAGE"] = Array(); 46$arResult["ERROR_MESSAGE"] = Array(); 47 66 { 67 $errorMessage = ""; 68 $okMessage = ""; 126 else 127 $errorMessage = GetMessage("BLOG_BLOG_BLOG_MES_SHOW_ERROR"); 128 } 136 if ($errorMessage <> '') 137 $arResult["ERROR_MESSAGE"][] = $errorMessage; 138 if ($okMessage <> '')action.php https://gitlab.com/alexprowars/bitrix | PHP | 344 lines
167 // Second exit point 168 if (!empty($arError)): 169 $DB->Rollback(); 211 } 212 $MID = ForumAddMessage(($FORUM_TOPIC_ID > 0 ? "REPLY" : "NEW"), $arParams["FORUM_ID"], $FORUM_TOPIC_ID, 0, $arFieldsG, $strErrorMessage, $arNote, false, 213 $post["captcha_word"], 0, $post["captcha_code"]); 217 "code" => "message is not added 2", 218 "title" => (empty($strErrorMessage) ? GetMessage("F_ERR_ADD_MESSAGE") : $strErrorMessage)); 219 $arResult['RESULT'] = false; 233 if ($post["TOPIC_SUBSCRIBE"] == "Y"): 234 ForumSubscribeNewMessagesEx($arParams["FORUM_ID"], $FORUM_TOPIC_ID, "N", $strErrorMessage, $strOKMessage); 235 BXClearCache(true, "/bitrix/forum/user/".$USER->GetID()."/subscribe/"); 296 if ($res1): 297 $arError[] = array( 298 "code" => "file upload error",compiler.py https://bitbucket.org/pcelta/python-django.git | Python | 293 lines
127 alias = seen[model] 128 except KeyError: 129 if model is proxied_model:CmdMute.cs https://bitbucket.org/LegoBricker/mchmok.git | C# | 320 lines
135 Help(p); 136 //_s.logger.ErrorLog(e); 137 return;apidirectmessage.php https://gitlab.com/BeS/io.schiessle.org | PHP | 450 lines
67 if (!$this->scoped instanceof Profile) { 68 // TRANS: Client error given when a user was not found (404). 69 $this->clientError(_('No such user.'), 404); 139 default: 140 // TRANS: Client error displayed when coming across a non-supported API method. 141 $this->clientError(_('API method not found.'), $code = 404);etsec.c https://gitlab.com/storedmirrors/qemu | C | 468 lines
35#include "registers.h" 36#include "qapi/error.h" 37#include "qemu/log.h" 387 388static void etsec_realize(DeviceState *dev, Error **errp) 389{ 457 qdev_set_nic_properties(dev, nd); 458 sysbus_realize_and_unref(SYS_BUS_DEVICE(dev), &error_fatal); 459arm_gic_common.c https://gitlab.com/storedmirrors/qemu | C | 394 lines
21#include "qemu/osdep.h" 22#include "qapi/error.h" 23#include "qemu/module.h" 186 187static void arm_gic_common_realize(DeviceState *dev, Error **errp) 188{ 192 if (s->num_cpu > GIC_NCPU) { 193 error_setg(errp, "requested %u CPUs exceeds GIC maximum %d", 194 s->num_cpu, GIC_NCPU); 197 if (s->num_irq > GIC_MAXIRQ) { 198 error_setg(errp, 199 "requested %u interrupt lines exceeds GIC maximum %d", 207 if (s->num_irq < 32 || (s->num_irq % 32)) { 208 error_setg(errp, 209 "%d interrupt lines unsupported: not divisible by 32",comp_udp.h https://gitlab.com/YaoQ/mbed-for-linknode | C Header | 191 lines
78#define UDP_FRM_NUM_FRM_NUM_Msk (0x7ffu << UDP_FRM_NUM_FRM_NUM_Pos) /**< \brief (UDP_FRM_NUM) Frame Number as Defined in the Packet Field Formats */ 79#define UDP_FRM_NUM_FRM_ERR (0x1u << 16) /**< \brief (UDP_FRM_NUM) Frame Error */ 80#define UDP_FRM_NUM_FRM_OK (0x1u << 17) /**< \brief (UDP_FRM_NUM) Frame OK */ 178#define UDP_CSR_RXBYTECNT(value) ((UDP_CSR_RXBYTECNT_Msk & ((value) << UDP_CSR_RXBYTECNT_Pos))) 179#define UDP_CSR_ISOERROR (0x1u << 3) /**< \brief (UDP_CSR[6]) A CRC error has been detected in an isochronous transfer */ 180/* -------- UDP_FDR[6] : (UDP Offset: 0x050) Endpoint FIFO Data Register -------- */ImfCRgbaFile.h https://gitlab.com/generic-library/opencv | C Header | 467 lines
456/* 457** Most recent error message 458*/ 459 460const char * ImfErrorMessage (void); 461test-readline-interface.js https://gitlab.com/CORP-RESELLER/node | JavaScript | 439 lines
248 }, function(err) { 249 if (err instanceof TypeError) { 250 if (/Argument "completer" must be a function/.test(err)) { 281 if (key === 'X') { 282 throw new Error('bad thing happened'); 283 }precision.cpp https://gitlab.com/CORP-RESELLER/node | C++ | 442 lines
47FixedPrecision::round( 48 DigitList &value, int32_t exponent, UErrorCode &status) const { 49 if (U_FAILURE(status)) { 73 if (fExactOnly && (value.fContext.status & DEC_Inexact)) { 74 status = U_FORMAT_INEXACT_ERROR; 75 } else if (fFailIfOverMax) { 79 if (fMax.getIntDigitCount() < interval.getIntDigitCount()) { 80 status = U_ILLEGAL_ARGUMENT_ERROR; 81 } 152 VisibleDigits &digits, 153 UErrorCode &status) const { 154 if (U_FAILURE(status)) { 175 VisibleDigits &digits, 176 UErrorCode &status) const { 177 if (U_FAILURE(status)) {hostfile.c https://bitbucket.org/killerpenguinassassins/open_distrib_devel.git | C | 488 lines
100 if (ret == -1) { 101 debug2("extract_salt: salt decode error"); 102 return (-1); 202 if (ret != MRK_NONE) 203 return MRK_ERROR; 204 /* Markers are terminated by whitespace */ 206 (sp = strchr(cp, '\t')) == NULL) 207 return MRK_ERROR; 208 /* Extract marker for comparison */ 209 if (sp <= cp + 1 || sp >= cp + sizeof(marker)) 210 return MRK_ERROR; 211 memcpy(marker, cp, sp - cp); 217 else 218 return MRK_ERROR; 219car_plantilla.control.php https://gitlab.com/talueses/SIPVE | PHP | 286 lines
47 /** 48 * @var string mensaje de exito o error 49 */ 240 241 // ------------------------------- MENSAJE ERROR --------------------------------// 242 if(!$exito){lte-ie7.js https://gitlab.com/alexandre_cottin/ruralis | JavaScript | 387 lines
88 'icon_info_alt' : 'p', 89 'icon_error-oct_alt' : 'q', 90 'icon_error-circle_alt' : 'r', 90 'icon_error-circle_alt' : 'r', 91 'icon_error-triangle_alt' : 's', 92 'icon_question_alt2' : 't', 199 'icon_info' : '', 200 'icon_error-circle' : '', 201 'icon_error-oct' : '', 201 'icon_error-oct' : '', 202 'icon_error-triangle' : '', 203 'icon_question_alt' : '',issue_comment_form.vue https://gitlab.com/mehlah/gitlab-ce | Vue | 377 lines
140 141 if (res.errors) { 142 if (res.errors.commands_only) { 249 <div class="timeline-entry-inner"> 250 <div class="flash-container error-alert timeline-content"></div> 251 <div class="timeline-icon hidden-xs hidden-sm"> 265 266 <div class="error-alert"></div> 267kubernetes_spec.rb https://gitlab.com/markglenfletcher/gitlab-ee | Ruby | 392 lines
8 9 shared_examples 'resource not found error' do |message| 10 it 'raises error' do 13 expect(result[:error]).to eq(message) 14 expect(result[:status]).to eq(:error) 15 end 17 18 shared_examples 'kubernetes API error' do |error_code| 19 it 'raises error' do 21 22 expect(result[:error]).to eq("Kubernetes API returned status code: #{error_code}") 23 expect(result[:status]).to eq(:error) 380 381 it { expect { subject }.to raise_error(::Kubeclient::HttpError) } 382 endi3200_edac.c https://gitlab.com/karrei/imx6-kernel | C | 549 lines
45 46#define I3200_ERRSTS 0xc8 /* Error Status Register (16b) 47 * 60 * 6:2 reserved 61 * 1 Multi-bit DRAM ECC Error Flag (DMERR) 62 * 0 Single-bit DRAM ECC Error Flag (DSERR) 79 80#define I3200_C0ECCERRLOG 0x280 /* Channel 0 ECC Error Log (64b) 81 * 81 * 82 * 63:48 Error Column Address (ERRCOL) 83 * 47:32 Error Row Address (ERRROW) 83 * 47:32 Error Row Address (ERRROW) 84 * 31:29 Error Bank Address (ERRBANK) 85 * 28:27 Error Rank Address (ERRRANK)package-summary.html https://gitlab.com/finalversus/authenSimple | HTML | 309 lines
171<tr class="altColor"> 172<td class="colFirst"><a href="../../../com/facebook/accountkit/AccountKitError.html" title="class in com.facebook.accountkit">AccountKitError</a></td> 173<td class="colLast"> 173<td class="colLast"> 174<div class="block">Map of all the existing SDK error codes and respective message for convenience</div> 175</td> 226<tr class="altColor"> 227<td class="colFirst"><a href="../../../com/facebook/accountkit/AccountKitError.Type.html" title="enum in com.facebook.accountkit">AccountKitError.Type</a></td> 228<td class="colLast"> </td> 255<td class="colLast"> 256<div class="block">Represents an error condition specific to the AccountKit SDK for Android.</div> 257</td>helpers.rb https://gitlab.com/wzs1990/gitlab | Ruby | 465 lines
173 # Checks the occurrences of required attributes, each attribute must be present in the params hash 174 # or a Bad Request error is invoked. 175 # 202 203 errors[label.title] = label.errors 204 end 270 def not_allowed! 271 render_api_error!('405 Method Not Allowed', 405) 272 end 291 if model.errors.any? 292 render_api_error!(model.errors.messages || '400 Bad Request', 400) 293 end 457 # We could get a Grape or a standard Ruby exception. We should only report anything that 458 # is clearly an error. 459 def report_exception?(exception)sys.c https://bitbucket.org/zhemao/ptree.git | C | 487 lines
71 if (error) 72 fs_warn(sdp, "freeze %d error %d", n, error); 73 418{ 419 int error; 420 421 sdp->sd_kobj.kset = gfs2_kset; 422 error = kobject_init_and_add(&sdp->sd_kobj, &gfs2_ktype, NULL, 423 "%s", sdp->sd_table_name); 423 "%s", sdp->sd_table_name); 424 if (error) 425 goto fail; 448fail: 449 fs_err(sdp, "error %d adding sysfs files", error); 450 return error;picroll.js https://gitlab.com/colin.luo/shbs | JavaScript | 395 lines
119 // dataType: 'jsonp', 120 // error: function() { 121 // FCAPP.Common.msg(true, {readme.md https://gitlab.com/minhaj_mimo/weatherApp | Markdown | 290 lines
9- Incremental compilation (so faster builds) 10- Error reporting 11- Different output streams for .js, .d.ts files. 35- `noImplicitAny` (boolean) - Warn on expressions and declarations with an implied 'any' type. 36- `suppressImplicitAnyIndexErrors` (boolean) - Suppress --noImplicitAny errors for indexing objects lacking index signatures. 37- `noLib` (boolean) - Don't include the default lib (with definitions for - Array, Date etc) 46- `moduleResolution` (string) - Determine how modules get resolved. Either 'node' for Node.js/io.js style resolution, or 'classic' (default) (TS1.6+). 47- `noEmitOnError` (boolean) - Do not emit outputs if any type checking errors were reported. 48- `noEmitHelpers` (boolean) - Do not generate custom helper functions like __extends in compiled output. 268You can set options, project or filter to `undefined` if you don't want to set them. Available reporters are: 269- nullReporter (`ts.reporter.nullReporter()`) - Don't report errors 270- defaultReporter (`ts.reporter.defaultReporter()`) - Report basic errors to the console 270- defaultReporter (`ts.reporter.defaultReporter()`) - Report basic errors to the console 271- longReporter (`ts.reporter.longReporter()`) - Extended version of default reporter, intelliJ link functionality + file watcher error highlighting should work using this one 272- fullReporter (`ts.reporter.fullReporter(showFullFilename?: boolean)`) - Show full error messages, with source.members_spec.rb https://gitlab.com/dcondrey/gitlab-ee | Ruby | 363 lines
180 context 'project in a group' do 181 it 'returns a 405 method not allowed error when group membership lock is enabled' do 182 group_with_membership_locked = create(:group, membership_lock: true)branches_spec.rb https://gitlab.com/voogsgerd/gitlab-ce | Ruby | 302 lines
38 39 it "returns a 403 error if guest" do 40 get api("/projects/#{project.id}/repository/branches", user2) 43 44 it "returns a 404 error if branch is not available" do 45 get api("/projects/#{project.id}/repository/branches/unknown", user) 190 191 it "returns a 404 error if branch not found" do 192 put api("/projects/#{project.id}/repository/branches/unknown/protect", user) 195 196 it "returns a 403 error if guest" do 197 put api("/projects/#{project.id}/repository/branches/#{branch_name}/protect", user2)trajectory.py https://gitlab.com/morten-j-nagel/ase | Python | 380 lines
92 if mode not in 'aw': 93 raise ValueError('mode must be "w" or "a".') 94 if self.master: 140 elif len(atoms) != len(self.numbers): 141 raise ValueError('Bad number of atoms!') 142 elif (atoms.numbers != self.numbers).any(): 142 elif (atoms.numbers != self.numbers).any(): 143 raise ValueError('Bad atomic numbers!') 144 169 allow_calculation=False) 170 except (NotImplementedError, KeyError): 171 # KeyError is needed for Jacapo. 215 self.backend = affopen(filename, 'r') 216 except InvalidAFFError: 217 raise RuntimeError('This is not a valid ASE trajectory file. 'crm_lead_to_opportunity.py https://gitlab.com/pmuontains/Odoo | Python | 265 lines
6import re 7from openerp.exceptions import UserError 8 89 if lead.probability == 100: 90 raise UserError(_("Closed/Dead leads cannot be converted into opportunities.")) 91 return Falsevmload-xml.js https://gitlab.com/loomis/smartos-live | JavaScript | 436 lines
70 * 71 * If an error occurs parsing the XML from 'data', this will call: 72 * 72 * 73 * callback(error) 74 * 74 * 75 * with an Error object having an error string and one of the following as 76 * error.code: 77 * 78 * 'PARSE_ERROR' - error parsing XML 79 * 108 if (!parser.parse(data)) { 109 err = new Error(parser.getError()); 110 err.code = 'PARSE_ERROR';slrnrc.vim https://gitlab.com/yenny.prathivi/git-it-electron | Vim Script | 194 lines
16" In some places whitespace is illegal 17syn match slrnrcSpaceError contained "\s" 18 57" Match as a "string" too 58syn region slrnrcVarIntStr contained matchgroup=slrnrcVarInt start=+"+ end=+"+ oneline contains=slrnrcVarInt,slrnrcSpaceError 59 72" Match as a "string" too 73syn region slrnrcVarStrStr contained matchgroup=slrnrcVarStr start=+"+ end=+"+ oneline contains=slrnrcVarStr,slrnrcSpaceError 74 88syn match slrnrcColorObj contained "\<quotes\d\+\>" 89syn keyword slrnrcColorObj contained article author boldtext box cursor date description error frame from_myself group grouplens_display header_name header_number headers 90syn keyword slrnrcColorObj contained high_score italicstext menu menu_press message neg_score normal pgpsignature pos_score quotes response_char selection signature status 163 HiLink slrnrcTodo Todo 164 HiLink slrnrcSpaceError Error 165 HiLink slrnrcNumber Numbercommon.c https://gitlab.com/Codeaurora/platform_external_wpa_supplicant | C | 599 lines
169 * 170 * This function is used to print conditional debugging and error messages. The 171 * output may be directed to stdout, stderr, and/or syslog based on 352 if (out_file == NULL) { 353 wpa_printf(MSG_ERROR, "wpa_debug_open_file: Failed to open " 354 "output file, using standard output"); 395 if (buf == NULL) { 396 wpa_printf(MSG_ERROR, "wpa_msg: Failed to allocate message " 397 "buffer"); 463#ifdef _WIN32_WCE 464void perror(const char *s) 465{ 465{ 466 wpa_printf(MSG_ERROR, "%s: GetLastError: %d", 467 s, (int) GetLastError());test-log-stack-tracer.cc https://gitlab.com/Codeaurora/platform_external_v8 | C++ | 399 lines
143#else 144#error Host architecture is neither 32-bit nor 64-bit. 145#endif 235#else 236#error Host architecture is neither 32-bit nor 64-bit. 237#endif 359#else 360#error Unexpected platform. 361#endifdeveloper-notes.md https://gitlab.com/yenny.prathivi/bitcoin | Markdown | 375 lines
102If the code is behaving strangely, take a look in the debug.log file in the data directory; 103error and debugging messages are written there. 104 256 not linking the other is confusing. Please avoid that. Moving functions from 257 the `.h` to the `.cpp` should not result in build errors 258ib_cmrc.c https://gitlab.com/waldi/ipxe | C | 464 lines
169 DBGC ( cmrc, "CMRC %s %s disconnected: %s\n", 170 ibdev->name, cmrc->name, strerror ( rc_cm ) ); 171 cmrc->connected = 0; 181 DBGC ( cmrc, "CMRC %s %s could not deliver private data: %s\n", 182 ibdev->name, cmrc->name, strerror ( rc_xfer ) ); 183 ib_cmrc_close ( cmrc, rc_xfer ); 217 218 /* Close the connection on any send errors */ 219 if ( rc != 0 ) { 219 if ( rc != 0 ) { 220 DBGC ( cmrc, "CMRC %s %s send error: %s\n", 221 ibdev->name, cmrc->name, strerror ( rc ) ); 243 244 /* Close the connection on any receive errors */ 245 if ( rc != 0 ) {router.d.ts https://gitlab.com/Adongo/Blog-Site-final | TypeScript Typings | 443 lines
193 /** @docsNotRequired */ 194 error: any); 195 /** @docsNotRequired */ 234/** 235 * @whatItDoes Error handler that is invoked when a navigation errors. 236 * 243 */ 244export declare type ErrorHandler = (error: any) => any; 245/** 267 /** 268 * Error handler that is invoked when a navigation errors. 269 * 271 */ 272 errorHandler: ErrorHandler; 273 /**merge_requests.rb https://gitlab.com/timothyandrew/gitlab-ee | Ruby | 312 lines
15 elsif errors[:branch_conflict].any? 16 error!(errors[:branch_conflict], 422) 17 elsif errors[:validate_fork].any? 22 23 render_api_error!(errors, 400) 24 end 82 if (errors = validate_label_params(mr_params)).any? 83 render_api_error!({ labels: errors }, 400) 84 end 90 else 91 handle_merge_request_errors! merge_request.errors 92 end 170 else 171 handle_merge_request_errors! merge_request.errors 172 endvms-c.cc https://gitlab.com/adotout/gcc | C++ | 489 lines
95 { 96 error ("unknown %<#pragma member_alignment%> name %s", arg); 97 return; 100 { 101 error ("malformed %<#pragma member_alignment%>"); 102 return; 134 { 135 error ("unhandled alignment for %<#pragma nomember_alignment%>"); 136 } 147 { 148 error ("garbage at end of %<#pragma nomember_alignment%>"); 149 return; 228 { 229 error ("unknown %<#pragma extern_model%> model %qs", arg); 230 return;tree-diagnostic.cc https://gitlab.com/adotout/gcc | C++ | 376 lines
33/* Prints out, if necessary, the name of the current function 34 that caused an error. Called from all error and warning functions. */ 35void 40 diagnostic_report_current_module (context, loc); 41 lang_hooks.print_error_function (context, LOCATION_FILE (loc), diagnostic); 42} 82 12 { 83 13 MULT (1.0);// 1.0 << 1; <-- so this is an error. 84 14 } 88 test.c: In function ‘g’: 89 test.c:5:14: error: invalid operands to binary << (have ‘double’ and ‘int’) 90 test.c:2:9: note: in definition of macro 'OPERATE' 162 163 test.c:5:14: error: invalid operands to binary << (have ‘double’ and ‘int’) 164Vector2h.cs https://gitlab.com/Alex_Green/led_engine | C# | 365 lines
97 /// <param name="y">32-bit single-precision floating-point number.</param> 98 /// <param name="throwOnError">Enable checks that will throw if the conversion result is not meaningful.</param> 99 public Vector2h(Single x, Single y, bool throwOnError) 100 { 101 X = new Half(x, throwOnError); 102 Y = new Half(y, throwOnError); 118 /// <param name="v">OpenTK.Vector2</param> 119 /// <param name="throwOnError">Enable checks that will throw if the conversion result is not meaningful.</param> 120 public Vector2h(Vector2 v, bool throwOnError) 121 { 122 X = new Half(v.X, throwOnError); 123 Y = new Half(v.Y, throwOnError); 140 /// <param name="v">OpenTK.Vector2</param> 141 /// <param name="throwOnError">Enable checks that will throw if the conversion result is not meaningful.</param> 142 public Vector2h(ref Vector2 v, bool throwOnError)jquery.imagesloaded.js https://gitlab.com/adwait.rise/guruautolines | JavaScript | 490 lines
389 this.proxyImage.addEventListener( 'load', this ); 390 this.proxyImage.addEventListener( 'error', this ); 391 // bind to image as well for Firefox. #191 392 this.img.addEventListener( 'load', this ); 393 this.img.addEventListener( 'error', this ); 394 this.proxyImage.src = this.img.src; 420 421 LoadingImage.prototype.onerror = function() { 422 this.confirm( false, 'onerror' ); 427 this.proxyImage.removeEventListener( 'load', this ); 428 this.proxyImage.removeEventListener( 'error', this ); 429 this.img.removeEventListener( 'load', this ); 429 this.img.removeEventListener( 'load', this ); 430 this.img.removeEventListener( 'error', this ); 431 };port.c https://gitlab.com/freesoftware/linux | C | 573 lines
120 121 /* The bridging is rolled back on error */ 122 if (err) {xfs_buf.h https://gitlab.com/freesoftware/linux | C Header | 396 lines
159 unsigned int b_state; /* internal state flags */ 160 int b_io_error; /* internal IO error state */ 161 wait_queue_head_t b_waiters; /* unpin waiters */ 182 unsigned int b_offset; /* page offset in first page */ 183 int b_error; /* error code on I/O */ 184 194 * 195 * last_error is used to ensure that we are getting repeated errors, not 196 * different errors. e.g. a block device might change ENOSPC to EIO when 295extern void xfs_buf_ioend(struct xfs_buf *bp); 296extern void __xfs_buf_ioerror(struct xfs_buf *bp, int error, 297 xfs_failaddr_t failaddr); 297 xfs_failaddr_t failaddr); 298#define xfs_buf_ioerror(bp, err) __xfs_buf_ioerror((bp), (err), __this_address) 299extern void xfs_buf_ioerror_alert(struct xfs_buf *, const char *func);PQServerOld.java https://gitlab.com/SlyOtis/PeakQ | Java | 369 lines
25 26 public static final int ERROR_DUPLICATE_EMAIL = 0; 27 public static final int ERROR_DUPLICATE_PHONE = 1; 27 public static final int ERROR_DUPLICATE_PHONE = 1; 28 public static final int ERROR_BAD_CONNECTION = 3; 29 public static final int ERROR_UNEXPECTED = 4; 29 public static final int ERROR_UNEXPECTED = 4; 30 public static final int ERROR_NO_MATCH = 5; 31 public static final int ERROR_DUPLICATE_NAME = 6; 31 public static final int ERROR_DUPLICATE_NAME = 6; 32 public static final int ERROR_NO_IMAGE = 7; 33 34 public interface Callback{ 35 void onFailure(int errorCode); 36 void onSuccess(int requestId, final String response);mmap.c https://github.com/ezrec/ai-touchbook-qemu.git | C | 409 lines
123 if (!(flags & MAP_ANONYMOUS)) { 124 /* msync() won't work here, so we return an error if write is 125 possible while it is a shared mapping */ 247 (offset & ~qemu_host_page_mask) != (start & ~qemu_host_page_mask)) { 248 /* msync() won't work here, so we return an error if write is 249 possible while it is a shared mapping */ 388#else 389 qerror("target_mremap: unsupported\n"); 390#endife1000_hw.h https://github.com/drakaz/GalaxoKernel.git | C Header | 601 lines
153 u8 status; /* Descriptor status */ 154 u8 errors; /* Descriptor Errors */ 155 __le16 special; 175 struct { 176 __le32 status_error; /* ext status/error */ 177 __le16 length; 201 struct { 202 __le32 status_error; /* ext status/error */ 203 __le16 length0; /* length of buffer 0 */ 364struct e1000_phy_stats { 365 u32 idle_errors; 366 u32 receive_errors;gedit-file-browser-store.h https://gitlab.com/tchaik/gedit | C Header | 188 lines
62 GEDIT_FILE_BROWSER_STORE_RESULT_NO_CHANGE, 63 GEDIT_FILE_BROWSER_STORE_RESULT_ERROR, 64 GEDIT_FILE_BROWSER_STORE_RESULT_NO_TRASH, 105 GtkTreeIter *iter); 106 void (* error) (GeditFileBrowserStore *model, 107 guint code, 167 gchar const *new_name, 168 GError **error); 169GeditFileBrowserStoreResult gedit_file_browser_store_delete (GeditFileBrowserStore *model,raw.c https://gitlab.com/VD-EDU/vd-iot-evalkit-sdk | C | 436 lines
165 * 166 * @return lwIP error code. 167 * - ERR_OK. Successful. No error occured. 188 * 189 * @return lwIP error code 190 *register.c https://github.com/mirrors/wine.git | C | 318 lines
76 ok (!ret, "Expected WintrustAddActionID to fail.\n"); 77 ok (GetLastError() == ERROR_INVALID_PARAMETER /* XP/W2K3 */ || 78 GetLastError() == 0xdeadbeef /* Win98/NT4/W2K */, 143 ok (ret, "Expected WintrustAddActionID to succeed.\n"); 144 ok (GetLastError() == 0xdeadbeef || GetLastError() == ERROR_ACCESS_DENIED, 145 "Expected 0xdeadbeef or ERROR_ACCESS_DENIED, got %lu.\n", 150 ok ( ret, "WintrustRemoveActionID failed : %ld\n", GetLastError()); 151 ok ( GetLastError() == 0xdeadbeef, "Last error should not have been changed: %lu\n", GetLastError()); 152 157 ok (GetLastError() == ERROR_INVALID_PARAMETER, 158 "Expected ERROR_INVALID_PARAMETER, got %lu.\n", GetLastError()); 159 246 GetLastError() == 0xdeadbeef /* W2K and XP-SP1 */, 247 "Expected ERROR_INVALID_PARAMETER or 0xdeadbeef, got %ld\n", GetLastError()); 248dllmain.c https://github.com/mirrors/wine.git | C | 440 lines
140 { 141 WARN("failed to send WM_ENDSESSION to win %p; error 0x%08x\n", 142 qi->wins[i], GetLastError()); 200 { 201 DWORD error = GetLastError(); 202 BOOL invalid = (error == ERROR_INVALID_WINDOW_HANDLE); 206 else 207 WARN("failed to send WM_QUERYENDSESSION to win %p; error 0x%08x; assuming refusal\n", 208 qi->wins[i], error);resources.rb https://github.com/mattetti/merb.git | Ruby | 329 lines
87 elsif options[:identify] 88 raise Error, "The constant #{klass_name} does not exist, please specify the constant for this resource" 89 end 89 end 90 rescue NameError => e 91 Merb.logger.debug!("Could not find resource model #{klass_name}")ras.c https://gitlab.com/willemmali-linux/linux | C | 463 lines
213 214 pseries_log = get_pseries_errorlog((struct rtas_error_log *)ras_log_buf, 215 PSERIES_ELOG_SECT_ID_HOTPLUG); 268 * the error is deemed recoverable, we log a warning and return. 269 * For nonrecoverable errors, an error is logged and we stop all processing 270 * as quickly as possible in order to prevent propagation of the failure. 289 if (status == 0 && 290 rtas_error_severity(rtas_elog) >= RTAS_SEVERITY_ERROR_SYNC) 291 fatal = 1; 298 if (fatal) { 299 pr_emerg("Fatal hardware error detected. Check RTAS error" 300 " log for details. Powering off immediately\n"); 319/* 320 * Get the error information for errors coming through the 321 * FWNMI vectors. The pt_regs' r3 will be updated to reflectflash.c https://gitlab.com/undergroundman/persianbashblog | C | 573 lines
234 if (info->sector_count > CONFIG_SYS_MAX_FLASH_SECT) { 235 printf ("** ERROR: sector count %d > max (%d) **\n", 236 info->sector_count, CONFIG_SYS_MAX_FLASH_SECT);line.c https://gitlab.com/tlevine/DragonFlyBSD | C | 657 lines
171 if (FILE2INT(sp, data.data, data.size, wp, wlen)) { 172 if (!F_ISSET(sp, SC_CONV_ERROR)) { 173 F_SET(sp, SC_CONV_ERROR); 173 F_SET(sp, SC_CONV_ERROR); 174 msgq(sp, M_ERR, "324|Conversion error on line %d", lno); 175 } 618 * db_err -- 619 * Report a line error. 620 * 628 msgq(sp, M_ERR, 629 "008|Error: unable to retrieve line %lu", (u_long)lno); 630}parse-events.y https://gitlab.com/felipe_artur/linux-stable | Happy | 672 lines
303 struct parse_events_evlist *data = _data; 304 struct parse_events_error *error = data->error; 305 struct list_head *list; 315 struct parse_events_evlist *data = _data; 316 struct parse_events_error *error = data->error; 317 struct list_head *list; 327 struct parse_events_evlist *data = _data; 328 struct parse_events_error *error = data->error; 329 struct list_head *list; 385 struct parse_events_evlist *data = _data; 386 struct parse_events_error *error = data->error; 387 struct list_head *list; 447 struct parse_events_evlist *data = _data; 448 struct parse_events_error *error = data->error; 449 struct list_head *list;fileutil.py https://github.com/mogaal/editra.git | Python | 453 lines
42 import win32com.client as win32client 43 except ImportError: 44 win32client = None 140 mod_time = os.path.getmtime(file_name) 141 except (OSError, EnvironmentError): 142 mod_time = 0 230 bHidden = bool(attrs & 2) 231 except (AttributeError, AssertionError): 232 bHidden = False 430 open(fname, 'w').close() 431 except (IOError, OSError), msg: 432 return (False, str(msg)) 449 os.mkdir(folder) 450 except (OSError, IOError), msg: 451 return (False, str(msg))tiocx.c https://github.com/mturquette/linux-omap.git | C | 562 lines
115 struct cx_dev *cx_dev = to_cx_dev(dev); 116 int error = 0; 117 120 if (id) { 121 if ((error = cx_drv->probe(cx_dev, id)) < 0) 122 return error; 127 128 return error; 129}disk.c https://gitlab.com/dj-tech/reactos | C | 477 lines
125 { 126 BaseSetLastNTError(Status); 127 return 0; 188 { 189 SetLastError(ERROR_PATH_NOT_FOUND); 190 return FALSE; 200 CloseHandle(hFile); 201 BaseSetLastNTError (errCode); 202 return FALSE; 325 { 326 BaseSetLastNTError (Status); 327 return FALSE;Character.cpp https://gitlab.com/0072016/Facebook-SDK- | C++ | 369 lines
83 // Create a Trie from the value array. 84 UErrorCode error = U_ZERO_ERROR; 85 UTrie2* trie = utrie2_openFromSerialized( 88 nullptr, &error); 89 ASSERT(error == U_ZERO_ERROR); 90 return trie; 363{ 364 UErrorCode status = U_ZERO_ERROR; 365 UScriptCode script = uscript_getScript(character, &status);win_utils.cc https://gitlab.com/0072016/Facebook-SDK- | C++ | 428 lines
188 if (INVALID_FILE_ATTRIBUTES == attributes) { 189 DWORD error = ::GetLastError(); 190 if (error != ERROR_FILE_NOT_FOUND && 191 error != ERROR_PATH_NOT_FOUND && 192 error != ERROR_INVALID_NAME) { 193 // Unexpected error. 198 NOTREACHED_NT(); 199 return error; 200 } 307 308 DWORD last_error = ::GetLastError(); 309 if (0 == return_value && (ERROR_FILE_NOT_FOUND == last_error || 310 ERROR_PATH_NOT_FOUND == last_error || 311 ERROR_INVALID_NAME == last_error)) { 312 // The file does not exist, but maybe a sub path needs to be expanded.quic_simple_client.cc https://gitlab.com/0072016/Facebook-SDK- | C++ | 406 lines
117 if (rc != OK) { 118 LOG(ERROR) << "Connect failed: " << ErrorToShortString(rc); 119 return false; 123 if (rc != OK) { 124 LOG(ERROR) << "SetReceiveBufferSize() failed: " << ErrorToShortString(rc); 125 return false; 129 if (rc != OK) { 130 LOG(ERROR) << "SetSendBufferSize() failed: " << ErrorToShortString(rc); 131 return false; 135 if (rc != OK) { 136 LOG(ERROR) << "GetLocalAddress failed: " << ErrorToShortString(rc); 137 return false; 389 const DatagramClientSocket* socket) { 390 LOG(ERROR) << "QuicSimpleClient read failed: " << ErrorToShortString(result); 391 Disconnect();ScriptRunIterator.cpp https://gitlab.com/0072016/Facebook-SDK- | C++ | 378 lines
24 25 UErrorCode status = U_ZERO_ERROR; 26 // Leave room to insert primary script. It's not strictly necessary but 35 ch, &dst[0], dst.size(), &status); 36 if (status == U_BUFFER_OVERFLOW_ERROR) { 37 // Allow this, we'll just use what we have. 37 // Allow this, we'll just use what we have. 38 DLOG(ERROR) << "Exceeded maximum script count of " << kMaxScriptCount << " for 0x" << std::hex << ch; 39 count = dst.size(); 39 count = dst.size(); 40 status = U_ZERO_ERROR; 41 } 44 if (U_FAILURE(status)) { 45 DLOG(ERROR) << "Could not get icu script data: " << status << " for 0x" << std::hex << ch; 46 dst.clear();0034_auto__del_field_flag_video.py https://gitlab.com/urbanjunglestudio/whambush-api | Python | 161 lines
17 # User chose to not deal with backwards NULL issues for 'Flag.video' 18 raise RuntimeError("Cannot reverse this migration. 'Flag.video' and its values cannot be restored.") 19gan_formatter.php https://gitlab.com/remyvianne/krowkaramel | PHP | 382 lines
127 /** 128 * Errors found during formatting 129 * @var array 130 */ 131 var $errors = array(); 132 188 * @param bool $recursive 189 * @return bool|array Array of errors on failure, true on succes 190 */ 235 236 return (($errors) ? $errors : true); 237 #php5e 375 foreach($a as $error) { 376 $this->errors[] = $error[0]->getMessage().' >>> '.$error[1]; 377 }LockingTransaction.java https://github.com/berlinbrown/lightreports.git | Java | 583 lines
36 37static class RetryEx extends Error{ 38}test_class_weight.py https://gitlab.com/0072016/0072016 | Python | 281 lines
34def test_compute_class_weight_not_present(): 35 # Raise error when y does not contain all class labels 36 classes = np.arange(4) 37 y = np.asarray([0, 0, 0, 1, 1, 2]) 38 assert_raises(ValueError, compute_class_weight, "auto", classes, y) 39 assert_raises(ValueError, compute_class_weight, "balanced", classes, y) 39 assert_raises(ValueError, compute_class_weight, "balanced", classes, y) 40 # Raise error when y has items not in classes 41 classes = np.arange(2) 41 classes = np.arange(2) 42 assert_raises(ValueError, compute_class_weight, "auto", classes, y) 43 assert_raises(ValueError, compute_class_weight, "balanced", classes, y) 43 assert_raises(ValueError, compute_class_weight, "balanced", classes, y) 44 assert_raises(ValueError, compute_class_weight, {0: 1., 1: 2.}, classes, y) 45fr_file_index.html https://github.com/mvsusp/Dojo-Online-Service.git | HTML | 149 lines
40 <a href="files/lib/spec/example/before_and_after_hooks_rb.html">lib/spec/example/before_and_after_hooks.rb</a><br /> 41 <a href="files/lib/spec/example/errors_rb.html">lib/spec/example/errors.rb</a><br /> 42 <a href="files/lib/spec/example/example_group_rb.html">lib/spec/example/example_group.rb</a><br /> 55 <a href="files/lib/spec/expectations_rb.html">lib/spec/expectations.rb</a><br /> 56 <a href="files/lib/spec/expectations/errors_rb.html">lib/spec/expectations/errors.rb</a><br /> 57 <a href="files/lib/spec/expectations/extensions_rb.html">lib/spec/expectations/extensions.rb</a><br /> 76 <a href="files/lib/spec/matchers/equal_rb.html">lib/spec/matchers/equal.rb</a><br /> 77 <a href="files/lib/spec/matchers/errors_rb.html">lib/spec/matchers/errors.rb</a><br /> 78 <a href="files/lib/spec/matchers/exist_rb.html">lib/spec/matchers/exist.rb</a><br /> 89 <a href="files/lib/spec/matchers/pretty_rb.html">lib/spec/matchers/pretty.rb</a><br /> 90 <a href="files/lib/spec/matchers/raise_error_rb.html">lib/spec/matchers/raise_error.rb</a><br /> 91 <a href="files/lib/spec/matchers/respond_to_rb.html">lib/spec/matchers/respond_to.rb</a><br /> 98 <a href="files/lib/spec/mocks/argument_matchers_rb.html">lib/spec/mocks/argument_matchers.rb</a><br /> 99 <a href="files/lib/spec/mocks/error_generator_rb.html">lib/spec/mocks/error_generator.rb</a><br /> 100 <a href="files/lib/spec/mocks/errors_rb.html">lib/spec/mocks/errors.rb</a><br />rpm.py https://github.com/dustyleary/scons-local.git | Python | 357 lines
36from SCons.Tool.packaging import stripinstallbuilder, src_targz 37from SCons.Errors import UserError 38 46 47 # Generate a UserError whenever the target name has been set explicitly, 48 # since rpm does not allow for controlling it. This is detected by 51 if str(target[0])!="%s-%s"%(NAME, VERSION): 52 raise UserError( "Setting target is not supported for rpm." ) 53 else: 110 except KeyError, e: 111 raise SCons.Errors.UserError( "Missing PackageTag '%s' for RPM packager" % e.args[0] ) 112 146 except KeyError, e: 147 raise SCons.Errors.UserError( '"%s" package field for RPM is missing.' % e.args[0] ) 148sdio.c https://github.com/mfleming/linux-2.6.git | C | 528 lines
96 if (iwm_rx_handle(iwm, rx_buf, rx_size) < 0) 97 IWM_WARN(iwm, "RX error\n"); 98test_gc.rb https://github.com/shugo/jruby.git | Ruby | 454 lines
103 def test_stat_argument 104 assert_raise_with_message(ArgumentError, /\u{30eb 30d3 30fc}/) {GC.stat(:"\u{30eb 30d3 30fc}")} 105 end 109 assert_equal stat[:count], GC.stat(:count) 110 assert_raise(ArgumentError){ GC.stat(:invalid) } 111 end 150 assert_equal info[:gc_by], GC.latest_gc_info(:gc_by) 151 assert_raise(ArgumentError){ GC.latest_gc_info(:invalid) } 152 assert_raise_with_message(ArgumentError, /\u{30eb 30d3 30fc}/) {GC.latest_gc_info(:"\u{30eb 30d3 30fc}")} 330 ObjectSpace.define_finalizer(Object.new, raise_proc) 331 Thread.handle_interrupt(RuntimeError => :immediate) {break} 332 Thread.handle_interrupt(RuntimeError => :on_blocking) {break} 332 Thread.handle_interrupt(RuntimeError => :on_blocking) {break} 333 Thread.handle_interrupt(RuntimeError => :never) {break} 334 endldb_search.c https://github.com/lutzky/samba.git | C | 584 lines
220 if (!tdb_key.dptr) { 221 return LDB_ERR_OPERATIONS_ERROR; 222 } 252 if (!tdb_key.dptr) { 253 return LDB_ERR_OPERATIONS_ERROR; 254 } 268 struct ldb_context *ldb = ldb_module_get_ctx(module); 269 ldb_debug(ldb, LDB_DEBUG_ERROR, "Invalid data for index %s\n", 270 ldb_dn_get_linearized(msg->dn)); 270 ldb_dn_get_linearized(msg->dn)); 271 return LDB_ERR_OPERATIONS_ERROR; 272 } 277 if (!msg->dn) { 278 return LDB_ERR_OPERATIONS_ERROR; 279 }help-options.php https://gitlab.com/endomorphosis/falkenstein | PHP | 121 lines
13 '<p>' . __('There are six overall categories of options to set, you can find details on each by selecting the related tab to the left.', $this->textdomain) . '</p>' . 14 '<p>' . __('CYAN Backup is a low level tool for WordPress and should be configured with care. Where ever possible, incorrect configurations are detected and a warning or error message will be displayed. However not all can be detected and you should be aware of the impact of your configuration on your site.', $this->textdomain) . '</p>' 15 ,post_thanks_admin.php https://gitlab.com/elasa/vb-elasa.ir | PHP | 359 lines
10// ######################## SET PHP ENVIRONMENT ########################### 11error_reporting(E_ALL & ~E_NOTICE); 12@set_time_limit(0);jquery.atd.js https://gitlab.com/endomorphosis/falkenstein | JavaScript | 414 lines
81 if (AtD.callback_f != undefined && AtD.callback_f.error != undefined) 82 AtD.callback_f.error(AtD.core.getErrorMessage(xml)); 83 126 127 error : function(XHR, status, error) { 128 if (AtD.callback_f != undefined && AtD.callback_f.error != undefined) 128 if (AtD.callback_f != undefined && AtD.callback_f.error != undefined) 129 AtD.callback_f.error(status + ": " + error); 130 }, 147 if (AtD.callback_f != undefined && AtD.callback_f.error != undefined) 148 AtD.callback_f.error(AtD.core.getErrorMessage(xml)); 149 200AtD.editSelection = function() { 201 var parent = AtD.errorElement.parent(); 202README.md https://gitlab.com/girmayegebremedhin/student_managment | Markdown | 331 lines
157```js 158exts.processIncomingMessage(message, function(error, msg) { 159 // hand the message off to the application 163If any extensions fail to process the message, then the callback will yield an 164error and the session should fail the WebSocket connection with closing code 165`1010`. If `error` is `null`, then `msg` should be passed on to the application. 170```js 171exts.processOutgoingMessage(message, function(error, msg) { 172 // write message to the transport 299above, transform it in any way it needs, then return it via the callback. If 300there is an error processing the message, this method should yield an error as 301the first argument. 308above, transform it in any way it needs, then return it via the callback. If 309there is an error processing the message, this method should yield an error as 310the first argument.multimap.rb https://github.com/rwalker/ironruby.git | Ruby | 532 lines
353 else 354 raise ArgumentError 355 end 438 else 439 raise ArgumentError 440 endcoffee-script.js https://gitlab.com/winniehell-gitlab/coffeescript | JavaScript | 403 lines
292 parser.yy.parseError = function(message, arg) { 293 var errorLoc, errorTag, errorText, errorToken, token, tokens; 294 token = arg.token; 295 errorToken = parser.errorToken, tokens = parser.tokens; 296 errorTag = errorToken[0], errorText = errorToken[1], errorLoc = errorToken[2]; 297 errorText = (function() { 300 return 'end of input'; 301 case errorTag !== 'INDENT' && errorTag !== 'OUTDENT': 302 return 'indentation'; 302 return 'indentation'; 303 case errorTag !== 'IDENTIFIER' && errorTag !== 'NUMBER' && errorTag !== 'INFINITY' && errorTag !== 'STRING' && errorTag !== 'STRING_START' && errorTag !== 'REGEX' && errorTag !== 'REGEX_START': 304 return errorTag.replace(/_START$/, '').toLowerCase(); 308 })(); 309 return helpers.throwSyntaxError("unexpected " + errorText, errorLoc); 310 };iso8859_9.py https://gitlab.com/areema/jirancomms_project | Python | 307 lines
10 11 def encode(self,input,errors='strict'): 12 return codecs.charmap_encode(input,errors,encoding_table) 13 14 def decode(self,input,errors='strict'): 15 return codecs.charmap_decode(input,errors,decoding_table) 18 def encode(self, input, final=False): 19 return codecs.charmap_encode(input,self.errors,encoding_table)[0] 20 22 def decode(self, input, final=False): 23 return codecs.charmap_decode(input,self.errors,decoding_table)[0] 24EngineBean.java https://github.com/chololo/spring-modules.git | Java | 358 lines
43 * 44 * @throws flux.EngineException If a system error occurs. 45 * @see flux.Factory#makeEngine 54 * @param configuration A specification of how to make an engine. 55 * @throws flux.EngineException If a system error occurs. 56 * @throws java.rmi.RemoteException If a networking error occurs. 66 * @param configuration A specification of how to make an engine. 67 * @throws flux.EngineException If a system error occurs. 68 * @throws java.rmi.RemoteException If a networking error occurs. 82 * configuration properties. 83 * @throws flux.EngineException If a system error occurs. 84 * @throws java.rmi.RemoteException If a networking error occurs. 102 * @param port The RMI registry port on the specified host. 103 * @throws flux.EngineException If a system error occurs. 104 * @throws java.rmi.RemoteException If a networking error occurs.getopt.c https://github.com/dscho/msys.git | C | 505 lines
63#endif 64int opterr = 1; /* if error message should be printed */ 65int optind = 1; /* index into parent argv vector */ 81#define IGNORE_FIRST (*options == '-' || *options == '+') 82#define PRINT_ERROR ((opterr) && ((*options != ':') \ 83 || (IGNORE_FIRST && options[1] != ':'))) 111 112/* Error messages */ 113static const char recargchar[] = "option requires an argument -- %c"; 290 ++optind; 291 if (PRINT_ERROR) 292 warnx(illoptchar, optchar); 302 place = EMSG; 303 if (PRINT_ERROR) 304 warnx(recargchar, optchar);headers.html https://github.com/coxlab/boost_patched_for_objcplusplus.git | HTML | 388 lines
56 57div.admonition, div.attention, div.caution, div.danger, div.error, 58div.hint, div.important, div.note, div.tip, div.warning { 69div.attention p.admonition-title, div.caution p.admonition-title, 70div.danger p.admonition-title, div.error p.admonition-title, 71div.warning p.admonition-title {application.js https://github.com/Domo/vz.designer.git | JavaScript | 356 lines
58 _basic_template, _adults_option_tags_template, _children_option_tags_template, 59 _template_min_number_of_rooms_error_message, _template_min_number_of_people_error_message, 60 _template_max_number_of_people_error_message) { 66 this.children_option_tags_template = new Template(_children_option_tags_template); 67 this.template_min_number_of_rooms_error_message = new Template(_template_min_number_of_rooms_error_message); 68 this.template_min_number_of_people_error_message = new Template(_template_min_number_of_people_error_message); 68 this.template_min_number_of_people_error_message = new Template(_template_min_number_of_people_error_message); 69 this.template_max_number_of_people_error_message = new Template(_template_max_number_of_people_error_message); 70 }, 118 errors = this.validateMinNumberOfRooms(requested_count, this.conditions_settings.get(_id)['min_rooms']); 119 errors = errors.concat(this.validateMinNumberOfPeople(_id, _container_name)); 120 this.publishConditionsErrors(_id, errors, requested_count); 172 if ((adults[i] + children[i]) > _max_people_required && _max_people_required != 0) { 173 errors.push(this.template_max_number_of_people_error_message.evaluate({i: i + 1, max_people_required: pluralize({count:max_people_required,singular:'person'})})); 174 }firebug.properties https://github.com/swaroopindian/firebug1.2.git | Properties File | 397 lines
3ShowChromeMessages=Show Chrome Messages 4ShowExternalErrors=Show External Errors 5JavascriptOptionsStrict=Strict Warnings (performance penalty) 16DBG_FBS_BP=Beware! DBG_BP 17DBG_FBS_ERRORS=Beware! DBG_ERRORS 18DBG_FBS_STEP= Beware! DBG_STEP 94Panel-breakpoints=Breakpoints 95ShowJavaScriptErrors=Show JavaScript Errors 96ShowJavaScriptWarnings=Show JavaScript Warnings 96ShowJavaScriptWarnings=Show JavaScript Warnings 97ShowCSSErrors=Show CSS Errors 98ShowXMLErrors=Show XML Errors 225ErrorCount=%S Error 226ErrorsCount=%S Errors 227APEHeader.cpp https://github.com/tokyovigilante/xbmc-sources-fork.git | C++ | 336 lines
53 54 // error check 55 if (cID3v2Header[5] & 64) 81 int nRetVal = m_pIO->Read(&nReadID, 4, &nBytesRead); 82 if (nRetVal != 0 || nBytesRead != 4) return ERROR_UNDEFINED; 83 115{ 116 // error check 117 if ((m_pIO == NULL) || (pInfo == NULL)) 117 if ((m_pIO == NULL) || (pInfo == NULL)) 118 return ERROR_INVALID_FUNCTION_PARAMETER; 119 125 if (pInfo->nJunkHeaderBytes < 0) 126 return ERROR_UNDEFINED; 127user.php https://github.com/cosmocommerce/joomla.git | PHP | 511 lines
71 // Check for an error. 72 if (JError::isError($form)) { 73 return $form; 187 // Check for an error. 188 if (JError::isError($form)) { 189 return $form; 195 // Check the validator results. 196 if (JError::isError($data) || $data === false) { 197 return $data; 281 // Check for an error. 282 if (JError::isError($form)) { 283 return $form; 450 // Check for an error. 451 if (JError::isError($return)) { 452 return $return;CallReader.java git://github.com/twilio/twilio-java.git | Java | 379 lines
327 if (restException == null) { 328 throw new ApiException("Server Error, no content"); 329 }hoogle.js git://github.com/ndmitchell/hoogle.git | JavaScript | 417 lines
113 else if (current) 114 self.showError(e.status, e.responseText); 115 } 124 } catch (err) { 125 // Probably a permissions error from cross domain scripting... 126 watch.stop(); 140 showWaiting: function(){$("h1").text("Still working...");}, 141 showError: function(status,text){$body.html("<h1><b>Error:</b> status " + status + "</h1><p>" + text + "</p>")}, 142 showResult: function(text){$body.html(text); newDocs();} 228 showWaiting: function(){show("<i>Still working...</i>");}, 229 showError: function(status,text){show("<i>Error: status " + status + "</i>");}, 230 showResult: function(text){show(text);}, 402{ 403 if (!window.XDomainRequest) throw new Error("the XDomainRequest object is not supported in this browser"); 404dial.go git://github.com/axw/llgo.git | Go | 431 lines
313func dialSerial(ctx *dialContext, ras addrList, cancel <-chan struct{}) (Conn, error) { 314 var firstErr error // The error from the first address is most relevant. 315 358 if la != nil && la.Network() != ra.Network() { 359 return nil, &OpError{Op: "dial", Net: ctx.network, Source: la, Addr: ra, Err: errors.New("mismatched local address type " + la.Network())} 360 } 374 default: 375 return nil, &OpError{Op: "dial", Net: ctx.network, Source: la, Addr: ra, Err: &AddrError{Err: "unexpected address type", Addr: ctx.address}} 376 } 398 default: 399 return nil, &OpError{Op: "listen", Net: net, Source: nil, Addr: la, Err: &AddrError{Err: "unexpected address type", Addr: laddr}} 400 } 424 default: 425 return nil, &OpError{Op: "listen", Net: net, Source: nil, Addr: la, Err: &AddrError{Err: "unexpected address type", Addr: laddr}} 426 }sumeuler.hs git://github.com/PatrickMaier/HdpH.git | Haskell | 334 lines
206-- parse runtime system config options (+ seed for random number generator) 207-- abort if there is an error 208parseOpts :: [String] -> IO (RTSConf, Int, [String]) 211 case either_conf of 212 Left err_msg -> error $ "parseOpts: " ++ err_msg 213 Right (conf, []) -> return (conf, 0, [])RecentInfo.d git://github.com/gtkd-developers/GtkD.git | D | 521 lines
29private import gio.IconIF; 30private import glib.ErrorG; 31private import glib.GException; 99 * Returns: the newly created #GAppInfo, or %NULL. 100 * In case of error, @error will be set either with a 101 * %GTK_RECENT_MANAGER_ERROR or a %G_IO_ERROR 106 { 107 GError* err = null; 108 112 { 113 throw new GException( new ErrorG(err) ); 114 }XMLPropertyListParser.java https://gitlab.com/philipithomas/bazel | Java | 293 lines
100 * could not be created. This should not occur. 101 * @throws java.io.IOException If any IO error occurs while reading the file. 102 * @throws org.xml.sax.SAXException If any parse error occurs. 120 * could not be created. This should not occur. 121 * @throws java.io.IOException If any IO error occurs while reading the file. 122 * @throws org.xml.sax.SAXException If any parse error occurs. 138 * could not be created. This should not occur. 139 * @throws java.io.IOException If any IO error occurs while reading the file. 140 * @throws org.xml.sax.SAXException If any parse error occurs. 156 * @return The root NSObject of the property list contained in the XML document. 157 * @throws java.io.IOException If any IO error occurs while reading the file. 158 * @throws com.dd.plist.PropertyListFormatException If the given property list has an invalid format. 195 * @return The corresponding NSObject. 196 * @throws java.io.IOException If any IO error occurs while parsing a Base64 encoded NSData object. 197 * @throws java.text.ParseException If a date string could not be parsed.domainr-search-box.js https://gitlab.com/Mirros/cdnjs | JavaScript | 552 lines
1(function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.domainr = f()}})(function(){var define,module,exports;return (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(require,module,exports){ 2'use strict'; 16 if (!callback) { 17 throw new Error('[domainr] Missing callback'); 18 } 49 if (x.status != 200) { 50 util.error('Error fetching data: ' + x.responseText); 51 return; 57 } catch (e) { 58 util.error('Unable to parse data: ' + x.responseText + '; ' + e); 59 return; 75 var timeout = setTimeout(function() { 76 util.error('Timeout trying to retrieve ' + url); 77 }, 5000); 546 qs: qs, 547 error: error, 548 uniq: uniqjquery.tablesorter.pager.js https://gitlab.com/Mirros/cdnjs | JavaScript | 417 lines
188 if (exception) { 189 // add error row to thead instead of tbody, or clicking on the header will result in a parser error 190 $t.find('thead').append(err); 214 $t.before(c.temp); 215 $(document).ajaxError(function(e, xhr, settings, exception) { 216 renderAjax(null, table, c, exception);posixpath.py https://gitlab.com/khainguyenptiter/project | Python | 404 lines
132 st = os.lstat(path) 133 except (os.error, AttributeError): 134 return False 142 st = os.lstat(path) 143 except os.error: 144 return False 183 s2 = os.lstat(join(path, '..')) 184 except os.error: 185 return False # It doesn't exist -- so not a mount point :-) 221 names = os.listdir(top) 222 except os.error: 223 return 228 st = os.lstat(name) 229 except os.error: 230 continueNativeObjectFactory.cc https://gitlab.com/xiaoliuliu2050/hadoop | C++ | 444 lines
42 // print out all the frames to stderr 43 fprintf(stderr, "Error: signal %d:\n", sig); 44ClientThread.java https://gitlab.com/essere.lab.public/qualitas.class-corpus | Java | 423 lines
244 default : 245 System.err.println(threadId + ": Error! Unsupported request " 246 + request); 252 System.err.println(threadId 253 + ": An error occured while executing SQL request (" 254 + e.getMessage() + ")"); 306 { 307 insertStats.incrementError(); 308 } 310 { 311 updateStats.incrementError(); 312 } 314 { 315 deleteStats.incrementError(); 316 }FeatureManagerUIListener.java https://gitlab.com/essere.lab.public/qualitas.class-corpus | Java | 449 lines
193 public boolean alreadyFailing = false; 194 public void failed(String licenceKey, PluginException error) { 195 if (DEBUG) { 195 if (DEBUG) { 196 System.out.println("FEAT: FAIL: " + licenceKey + ": " + error.toString()); 197 } 213 214 String s = Debug.getNestedExceptionMessage(error); 215 216 MessageBoxShell mb = new MessageBoxShell( 217 SWT.ICON_ERROR | SWT.OK, 218 "License Addition Error for " + licenceKey,dialog_es.properties https://gitlab.com/essere.lab.public/qualitas.class-corpus | Properties File | 216 lines
61dialog.button.ok = OK 62dialog.error.file.version.error = El fichero seleccionado procede de una versi\u00f3n m\u00e1s reciente \ 63 de ArgoUML y no puede ser cargado por esta versi\u00f3n. Ha sido guardado con ArgoUML {0}. \ 66 la memoria. Por favor intente volver a correr ArgoUML con la memoria incrementada. 67dialog.error.open.error = Error abriendo fichero : {0} 68dialog.error.open.save.error = Error abriendo/guardando fichero 68dialog.error.open.save.error = Error abriendo/guardando fichero 69dialog.error.save.error = Error guardando fichero : {0} 70dialog.error.title = Error 71dialog.error.uml.version.error = Versi\u00f3n no soportada de UML : {0} 72dialog.error.xmi.format.error = Error en el formato XMI : {0} \n\ 73 Si este fichero fue producido por una herramienta diferente a ArgoUML, por favor\n\ 81 http://argouml.tigris.org/project_bugs.html</a>. 82dialog.error.xmi.reference.error = XMI error en referencia externa al intentar leer : {0} \n\ 83 mensaje de error : {1} \n\rsv.js https://gitlab.com/adamlwalker/generatedata | JavaScript | 243 lines
12rsv.errorFieldClass=null; 13rsv.errorTextIntro="Please fix the following error(s) and resubmit:"; 14rsv.errorJSItemBullet="* "; 74if(!oneIsSelected||form[fieldName].length==0) 75{if(!rsv.processError(form[fieldName],errorMessage)) 76return false;}} 145break;case"same_as":if(form[fieldName].value!=form[fieldName2].value) 146{if(!rsv.processError(form[fieldName],errorMessage)) 147return false;} 197{var errorHTML=rsv.errorTextIntro+"<br /><br />";for(var i=0;i<errorInfo.length;i++) 198{errorHTML+=rsv.errorHTMLItemBullet+errorInfo[i][1]+"<br />";rsv.styleField(errorInfo[i][0],i==0);} 199if(errorInfo.length>0) 199if(errorInfo.length>0) 200{document.getElementById(rsv.errorTargetElementId).style.display="block";document.getElementById(rsv.errorTargetElementId).innerHTML=errorHTML;return false;} 201return true;}ParserTest.php https://gitlab.com/Pasantias/pasantiasASLG | PHP | 248 lines
13 14use Symfony\Component\CssSelector\Exception\SyntaxErrorException; 15use Symfony\Component\CssSelector\Node\FunctionNode; 38 $parser->parse($source); 39 $this->fail('Parser should throw a SyntaxErrorException.'); 40 } catch (SyntaxErrorException $e) { 90 $function = $selectors[0]->getTree(); 91 $this->setExpectedException('Symfony\Component\CssSelector\Exception\SyntaxErrorException'); 92 Parser::parseSeries($function->getArguments()); 142 return array( 143 array('attributes(href)/html/body/a', SyntaxErrorException::unexpectedToken('selector', new Token(Token::TYPE_DELIMITER, '(', 10))->getMessage()), 144 array('attributes(href)', SyntaxErrorException::unexpectedToken('selector', new Token(Token::TYPE_DELIMITER, '(', 10))->getMessage()), 144 array('attributes(href)', SyntaxErrorException::unexpectedToken('selector', new Token(Token::TYPE_DELIMITER, '(', 10))->getMessage()), 145 array('html/body/a', SyntaxErrorException::unexpectedToken('selector', new Token(Token::TYPE_DELIMITER, '/', 4))->getMessage()), 146 array(' ', SyntaxErrorException::unexpectedToken('selector', new Token(Token::TYPE_FILE_END, '', 1))->getMessage()),date_helper.php https://gitlab.com/fredec/ionizecms-1.0.8.x | PHP | 611 lines
50 $system_time = time(); 51 log_message('error', 'The Date class could not set a proper GMT timestamp so the local time() value was used.'); 52 }walk.js https://gitlab.com/junxianlim/kokochat | JavaScript | 369 lines
1(function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}(g.acorn || (g.acorn = {})).walk = f()}})(function(){var define,module,exports;return (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(_dereq_,module,exports){ 2// AST walker module for Mozilla Parser API compatible trees 31 32function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } 33defines.h https://bitbucket.org/sola/android_board_imx53qsb_kernel.git | C Header | 294 lines
115#define IXGBE_RXD_ERR_USE 0x20 /* Undersize Error */ 116#define IXGBE_RXD_ERR_TCPE 0x40 /* TCP/UDP Checksum Error */ 117#define IXGBE_RXD_ERR_IPE 0x80 /* IP Checksum Error */ 118#define IXGBE_RXDADV_ERR_MASK 0xFFF00000 /* RDESC.ERRORS mask */ 119#define IXGBE_RXDADV_ERR_SHIFT 20 /* RDESC.ERRORS shift */ 120#define IXGBE_RXDADV_ERR_HBO 0x00800000 /*Header Buffer Overflow */ 120#define IXGBE_RXDADV_ERR_HBO 0x00800000 /*Header Buffer Overflow */ 121#define IXGBE_RXDADV_ERR_CE 0x01000000 /* CRC Error */ 122#define IXGBE_RXDADV_ERR_LE 0x02000000 /* Length Error */ 122#define IXGBE_RXDADV_ERR_LE 0x02000000 /* Length Error */ 123#define IXGBE_RXDADV_ERR_PE 0x08000000 /* Packet Error */ 124#define IXGBE_RXDADV_ERR_OSE 0x10000000 /* Oversize Error */ 217 struct { 218 __le32 status_error; /* ext status/error */ 219 __le16 length; /* Packet length */gencon.test.py https://gitlab.com/joeliven/domain-adaptation-sentiment-analysis | Python | 278 lines
31 Output="Output=%samazon/logs/test.%s.out.$(Cluster)" % (SCRATCH, name) 32 Error="Error=%samazon/logs/test.%s.err.$(Cluster)" % (SCRATCH, name) 33 57 f.write("\n") 58 f.write(Error) 59 f.write("\n")import.rb https://gitlab.com/certik/gitlab-ce | Ruby | 392 lines
82 ensure 83 keep_track_of_errors 84 end 109 if e.message !~ /repository not exported/ 110 error(:wiki, wiki_url, e.message) 111 end 212 rescue => e 213 error(:pull_request, pull_request.url, e.message) 214 ensure 383 message: 'The remote data could not be fully imported.', 384 errors: errors 385 }.to_json) 388 def error(type, url, message) 389 errors << { type: type, url: Gitlab::UrlSanitizer.sanitize(url), error: message } 390 endcache_test.go https://gitlab.com/akomba/ether-bot-wallet | Go | 554 lines
158 if c.Nodes() != 0 { 159 t.Errorf("invalid nodes counter: want=%d got=%d", 0, c.Nodes()) 160 } 161 if c.Size() != 0 { 162 t.Errorf("invalid size counter: want=%d got=%d", 0, c.Size()) 163 } 168 if c.Nodes() != 4 { 169 t.Errorf("invalid nodes counter: want=%d got=%d", 4, c.Nodes()) 170 } 171 if c.Size() != 7 { 172 t.Errorf("invalid size counter: want=%d got=%d", 4, c.Size()) 173 } 178 if c.Capacity() != 10 { 179 t.Errorf("invalid capacity: want=%d got=%d", 10, c.Capacity()) 180 }osm_req.c https://gitlab.com/domke/osm-routing-dev | C | 433 lines
107 if (!p_physp) { 108 OSM_LOG(sm->p_log, OSM_LOG_ERROR, 109 "ERR 1107: Outgoing physp is null on non-hop_0!\n"); 109 "ERR 1107: Outgoing physp is null on non-hop_0!\n"); 110 osm_dump_dr_path_v2(sm->p_log, p_path, FILE_ID, OSM_LOG_ERROR); 111 dest_port_guid = 0; 182 if (p_madw == NULL) { 183 OSM_LOG(sm->p_log, OSM_LOG_ERROR, 184 "ERR 1101: Unable to acquire MAD\n"); 268 if (p_madw == NULL) { 269 OSM_LOG(sm->p_log, OSM_LOG_ERROR, 270 "ERR 1102: Unable to acquire MAD\n"); 363 if (!port) { 364 OSM_LOG(sm->p_log, OSM_LOG_ERROR, 365 "ERR 1104: cannot find SM port by guid 0x%" PRIx64 "\n",test_cparser.py https://gitlab.com/pooja043/Globus_Docker | Python | 407 lines
155 header=None) 156 self.assertRaises(parser.CParserError, reader.read) 157 159 header=None, 160 error_bad_lines=False, 161 warn_bad_lines=False) 172 header=None, 173 error_bad_lines=False, 174 warn_bad_lines=True) 198 # not enough rows 199 self.assertRaises(parser.CParserError, TextReader, StringIO(data), 200 delimiter=',', header=5, as_recarray=True) 223 # not enough rows 224 self.assertRaises(parser.CParserError, TextReader, StringIO(data), 225 delimiter=',', header=5, as_recarray=True)paging_tmpl.h https://gitlab.com/envieidoc/advancedtomato2 | C Header | 484 lines
51#else 52 #error Invalid PTTYPE value 53#endif 65 gfn_t gfn; 66 u32 error_code; 67}; 120 if (user_fault || is_write_protection(vcpu)) 121 goto access_error; 122 123 if (user_fault && !(*ptep & PT_USER_MASK)) 124 goto access_error; 125 127 if (fetch_fault && is_nx(vcpu) && (*ptep & PT64_NX_MASK)) 128 goto access_error; 129#endifpgtable.h https://gitlab.com/envieidoc/advancedtomato2 | C Header | 404 lines
54 * are actually used for anything, but it is anyway safer to let the 55 * MMU catch these kinds of errors than to rely on the memory bus. 56 *cfi_probe.c https://gitlab.com/envieidoc/advancedtomato2 | C | 445 lines
71 in: interleave,type,mode 72 ret: table index, <0 for error 73 */signal.c https://gitlab.com/envieidoc/advancedtomato2 | C | 488 lines
185 err |= __put_user(me->thread.trap_no, &sc->trapno); 186 err |= __put_user(me->thread.error_code, &sc->err); 187 err |= __put_user(regs->rip, &sc->rip);mv64360_pic.c https://gitlab.com/envieidoc/advancedtomato2 | C | 424 lines
330 val = mv64x60_read(&bh, MV64x60_PCI0_ERR_CAUSE); 331 printk(KERN_ERR "%s: Error in PCI %d Interface\n", 332 "mv64360_pci_error_int_handler", pci_bus); 375 376 /* Clear old errors and register CPU interface error intr handler */ 377 mv64x60_write(&bh, MV64x60_CPU_ERR_CAUSE, 0); 384 385 /* Clear old errors and register internal SRAM error intr handler */ 386 mv64x60_write(&bh, MV64360_SRAM_ERR_CAUSE, 0); 390 391 /* Clear old errors and register PCI 0 error intr handler */ 392 mv64x60_write(&bh, MV64x60_PCI0_ERR_CAUSE, 0); 405 406 /* Clear old errors and register PCI 1 error intr handler */ 407 mv64x60_write(&bh, MV64x60_PCI1_ERR_CAUSE, 0);asn1_lib.c https://gitlab.com/envieidoc/advancedtomato2 | C | 483 lines
288 if (!ASN1_const_check_infinite_end(&c->p, c->slen)) { 289 c->error = ERR_R_MISSING_ASN1_EOS; 290 return (0); 293 if (((c->slen != 0) && !(c->inf & 1)) || ((c->slen < 0) && (c->inf & 1))) { 294 c->error = ERR_R_ASN1_LENGTH_MISMATCH; 295 return (0); 317 if (c->inf & 0x80) { 318 c->error = ERR_R_BAD_GET_ASN1_OBJECT_CALL; 319 return (0); 321 if (c->tag != V_ASN1_SEQUENCE) { 322 c->error = ERR_R_EXPECTING_AN_ASN1_SEQUENCE; 323 return (0); 326 if (c->max && (*length < 0)) { 327 c->error = ERR_R_ASN1_LENGTH_MISMATCH; 328 return (0);cimax2.c https://gitlab.com/jhalayashraj/nkernel | C | 536 lines
110 if (ret != 2) { 111 ci_dbg_print("%s: i2c read error, Reg = 0x%02x, Status = %d\n", 112 __func__, reg, ret); 141 if (ret != 1) { 142 ci_dbg_print("%s: i2c write error, Reg=[0x%02x], Status=%d\n", 143 __func__, reg, ret); 514err: 515 ci_dbg_print("%s: Cannot initialize CI: Error %d.\n", __func__, ret); 516 kfree(state);limProcessDisassocFrame.c https://gitlab.com/jhalayashraj/nkernel | C | 345 lines
90 // Received Disassoc frame from a BC/MC address 91 // Log error and ignore it 92 PELOGE(limLog(pMac, LOG1, 100 // Received Disassoc frame for a MC address 101 // Log error and ignore it 102 PELOGE(limLog(pMac, LOG1, 109 /* PMF: If this session is a PMF session, then ensure that this frame was protected */ 110 if(psessionEntry->limRmfEnabled && (WDA_GET_RX_DPU_FEEDBACK(pRxPacketInfo) & DPU_FEEDBACK_UNPROTECTED_ERROR)) 111 { 143 * Disassociating STA is not associated. 144 * Log error. 145 */ 249 // Invalid reasonCode in received Disassociation frame 250 // Log error and ignore the frame 251 PELOGE(limLog(pMac, LOGE,nislib.h https://gitlab.com/infected_/linaro_aarch64-linux-gnu-4.9.x | C Header | 286 lines
139 nis_tag **__result) __THROW; 140extern nis_error nis_stats (const nis_server *__machine, 141 const nis_tag *__tags, int __numtags, 175/* 176** nis_error 177*/ 178extern const char *nis_sperrno (const nis_error __status) __THROW; 179extern void nis_perror (const nis_error __status, const char *__label) __THROW; 180extern void nis_lerror (const nis_error __status, const char *__label) __THROW; 181extern char *nis_sperror (const nis_error status, const char *__label) __THROW; 182extern char *nis_sperror_r (const nis_error __status, const char *__label, 183 char *__buffer, size_t __buflen) __THROW; 190 const_nis_name __group) __THROW; 191extern nis_error nis_removemember (const_nis_name __member, 192 const_nis_name __group) __THROW;start-impala-cluster.py https://gitlab.com/s9perween/Impala | Python | 286 lines
101 print "Starting State Store logging to %s/statestored.INFO" % options.log_dir 102 stderr_log_file_path = os.path.join(options.log_dir, "statestore-error.log") 103 args = "%s %s" % (build_impalad_logging_args(0, "statestored"), 108 print "Starting Catalog Service logging to %s/catalogd.INFO" % options.log_dir 109 stderr_log_file_path = os.path.join(options.log_dir, "catalogd-error.log") 110 args = "%s %s %s" % (build_impalad_logging_args(0, "catalogd"), 118 (cluster_size, build_impalad_logging_args(0, 'mini-impala-cluster')) 119 stderr_log_file_path = os.path.join(options.log_dir, 'mini-impala-cluster-error.log') 120 exec_impala_process(MINI_IMPALA_CLUSTER_PATH, args, stderr_log_file_path) 153 build_impalad_port_args(i), options.impalad_args.replace("#ID", str(i))) 154 stderr_log_file_path = os.path.join(options.log_dir, '%s-error.log' % service_name) 155 exec_impala_process(IMPALAD_PATH, args, stderr_log_file_path) 161 number based on CLUSTER_SIZE, or the retry limit is hit. Failing this, raise a 162 RuntimeError. 163 """utilities.c https://gitlab.com/kush/jarulraj-postgresql-cpp | C | 473 lines
339 s_size symbols at s. 340 Returns 0 on success, -1 on error. 341 Also, frees z->p (and sets it to NULL) on error.plperl.sql https://gitlab.com/kush/jarulraj-postgresql-cpp | SQL | 474 lines
414-- check that we can't "use" a module that's not been loaded already 415-- compile-time error: "Unable to load blib.pm into plperl" 416DO $$ use blib; $$ LANGUAGE plperl; 418-- check that we can "use" a module that has already been loaded 419-- runtime error: "Can't use string ("foo") as a SCALAR ref while "strict refs" in use 420DO $do$ use strict; my $name = "foo"; my $ref = $$name; $do$ LANGUAGE plperl; 421 422-- check that we can "use warnings" (in this case to turn a warn into an error) 423-- yields "ERROR: Useless use of sort in scalar context."sysv_sema.c https://gitlab.com/kush/jarulraj-postgresql-cpp | C | 465 lines
81 * If we fail with a failure code other than collision-with-existing-set, 82 * print out an error and abort. Other types of errors suggest nonrecoverable 83 * problems. 96 /* 97 * Fail quietly if error indicates a collision with existing set. One 98 * would expect EEXIST, given that we said IPC_EXCL, but perhaps we 117 (saved_errno == ENOSPC) ? 118 errhint("This error does *not* mean that you have run out of disk space. " 119 "It occurs when either the system limit for the maximum number of "unzip.h https://bitbucket.org/pizzafactory/blackfin-toolchain.git | C Header | 354 lines
73#define UNZ_EOF (0) 74#define UNZ_PARAMERROR (-102) 75#define UNZ_BADZIPFILE (-103) 75#define UNZ_BADZIPFILE (-103) 76#define UNZ_INTERNALERROR (-104) 77#define UNZ_CRCERROR (-105) 173 uSizeBuf is the size of the szComment buffer. 174 return the number of byte copied or an error code <0 175*/ 254 Open for reading data the current file in the zipfile. 255 If there is no error, the return value is UNZ_OK. 256*/ 310 return <0 with error code if there is an error 311 (UNZ_ERRNO for IO error, or zLib error for uncompress error) 312*/ia32_aout.c https://gitlab.com/SpasilliumNexus/frankenclark_kernel | C | 492 lines
328 329 if (error != (text_addr & PAGE_MASK)) { 330 send_sig(SIGKILL, current, 0); 341#ifdef WARN_OLD 342 static unsigned long error_time, error_time2; 343 if ((ex.a_text & 0xfff || ex.a_data & 0xfff) && 372 373 if (error != N_TXTADDR(ex)) { 374 send_sig(SIGKILL, current, 0); 374 send_sig(SIGKILL, current, 0); 375 return error; 376 } 470 retval = error; 471 if (error != start_addr + len) 472 goto out;agent.py https://gitlab.com/meetly/dd-agent | Python | 394 lines
114 def info(cls, verbose=None): 115 logging.getLogger().setLevel(logging.ERROR) 116 return CollectorStatus.print_latest_status(verbose=verbose) 287 if command not in DD_AGENT_COMMANDS: 288 # Will become an error message and exit after deprecation period 289 from utils.deprecations import deprecate_old_command_line_tools 387 sys.exit(main()) 388 except StandardError: 389 # Try our best to log the error. 390 try: 391 log.exception("Uncaught error running the Agent") 392 except Exception:cpia2.h https://gitlab.com/openbar/rpi-linux | C Header | 487 lines
125 FRAME_READY, /* Ready to be read */ 126 FRAME_ERROR, 127};decrypt-data.c https://gitlab.com/oyvholm/gnupg | C | 471 lines
87 if (!dfx) 88 return gpg_error_from_syserror (); 89 dfx->refcount = 1; 116 { 117 rc = gpg_error_from_syserror (); 118 goto leave; 135 because we may not know the used cipher then. */ 136 rc = gpg_error (GPG_ERR_INV_PACKET); 137 goto leave; 154 { 155 /* We should never get an error here cause we already checked 156 * that the algorithm is available. */ 170 { 171 log_error("key setup failed: %s\n", gpg_strerror (rc) ); 172 goto leave;DArticulo.cs https://gitlab.com/JPGITLAB1519/Sistema-Ventas-C- | C# | 403 lines
170 { 171 // en caso de error asignar a la variable el error devuelto 172 rpta = ex.Message; 260 { 261 // en caso de error asignar a la variable el error devuelto 262 rpta = ex.Message; 311 { 312 // en caso de error asignar a la variable el error devuelto 313 rpta = ex.Message;fruchterman_reingold.hpp https://bitbucket.org/Klorius/yapog.git | C++ Header | 384 lines
12#ifndef BOOST_GRAPH_USE_MPI 13#error "Parallel BGL files should not be included unless <boost/graph/use_mpi.hpp> has been included" 14#endiftlv320aic26.c https://gitlab.com/SerenityS/android_kernel_pantech_msm8974 | C | 458 lines
66 if (rc) { 67 dev_err(&aic26->spi->dev, "AIC26 reg read error\n"); 68 return -EIO; 112 if (rc) { 113 dev_err(&aic26->spi->dev, "AIC26 reg read error\n"); 114 return -EIO; 387 if (ret) 388 dev_info(codec->dev, "error creating sysfs files\n"); 389ByteOrder.h https://gitlab.com/vectorci/rippled | C Header | 298 lines
117{ 118 #if BEAST_USE_INTRINSICSxxx // agh - the MS compiler has an internal error when you try to use this intrinsic! 119 return static_cast <std::uint16_t> (_byteswap_ushort (n));parser.js https://gitlab.com/alekhya484/example-project | JavaScript | 304 lines
176 if (html === last) { 177 throw new Error('Parse Error: ' + html); 178 }table.c https://bitbucket.org/thelearninglabs/uclinux-distro-tll-public.git | C | 623 lines
105 { 106 perror (file_name); 107 exit (1); 119 { 120 perror (file_name); 121 exit (1); 139 if (line != NULL) 140 error (line, "Problem opening file `%s'\n", file_name); 141 perror (file_name); 156 { 157 perror (file_name); 158 exit (1); 164 { 165 perror (file_name); 166 exit (1);defs.mk https://bitbucket.org/killerpenguinassassins/open_distrib_devel.git | Makefile | 52 lines
5G_BUILD_EARLY_SUPPORT=gensupport.o dummy-conditions.o 6G_BUILD_ERRORS=build-errors.o 7G_BUILD_PRINT=build-print-rtl.o 12G_ALL_CPPFLAGS=-I. -I. -I${GNUHOSTDIST}/gcc -I${GNUHOSTDIST}/gcc/. -I${GNUHOSTDIST}/gcc/../include -I${GNUHOSTDIST}/gcc/../libcpp/include 13G_C_AND_OBJC_OBJS=attribs.o c-errors.o c-lex.o c-pragma.o c-decl.o c-typeck.o c-convert.o c-aux-info.o c-common.o c-opts.o c-format.o c-semantics.o c-incpath.o cppdefault.o c-ppoutput.o c-cppbuiltin.o prefix.o c-objc-common.o c-dump.o c-pch.o c-parser.o c-gimplify.o tree-mudflap.o c-pretty-print.o 14G_C_OBJS=c-lang.o stub-objc.o attribs.o c-errors.o c-lex.o c-pragma.o c-decl.o c-typeck.o c-convert.o c-aux-info.o c-common.o c-opts.o c-format.o c-semantics.o c-incpath.o cppdefault.o c-ppoutput.o c-cppbuiltin.o prefix.o c-objc-common.o c-dump.o c-pch.o c-parser.o c-gimplify.o tree-mudflap.o c-pretty-print.o 15G_CCCP_OBJS= 16G_GCOV_OBJS=gcov.o intl.o version.o errors.o 17G_PROTO_OBJS=intl.o version.o cppdefault.o errors.o 20G_OBJC_OBJS=objc/objc-lang.o objc/objc-act.o 21G_OBJS=tree-chrec.o tree-scalar-evolution.o tree-data-ref.o tree-cfg.o tree-dfa.o tree-eh.o tree-ssa.o tree-optimize.o tree-gimple.o gimplify.o tree-pretty-print.o tree-into-ssa.o tree-outof-ssa.o tree-ssa-ccp.o tree-vn.o tree-ssa-uncprop.o tree-ssa-dce.o tree-ssa-copy.o tree-nrv.o tree-ssa-copyrename.o tree-ssa-pre.o tree-ssa-live.o tree-ssa-operands.o tree-ssa-alias.o tree-ssa-phiopt.o tree-ssa-forwprop.o tree-nested.o tree-ssa-dse.o tree-ssa-dom.o domwalk.o tree-tailcall.o gimple-low.o tree-iterator.o tree-phinodes.o tree-ssanames.o tree-sra.o tree-complex.o tree-vect-generic.o tree-ssa-loop.o tree-ssa-loop-niter.o tree-ssa-loop-manip.o tree-ssa-threadupdate.o tree-vectorizer.o tree-vect-analyze.o tree-vect-transform.o tree-ssa-loop-ivcanon.o tree-ssa-propagate.o tree-ssa-address.o tree-ssa-math-opts.o tree-ssa-loop-ivopts.o tree-if-conv.o tree-ssa-loop-unswitch.o alias.o bb-reorder.o bitmap.o builtins.o caller-save.o calls.o cfg.o cfganal.o cfgbuild.o cfgcleanup.o cfglayout.o cfgloop.o cfgloopanal.o cfgloopmanip.o loop-init.o loop-unswitch.o loop-unroll.o cfgrtl.o combine.o conflict.o convert.o coverage.o cse.o cselib.o dbxout.o ddg.o tree-ssa-loop-ch.o loop-invariant.o tree-ssa-loop-im.o debug.o df.o diagnostic.o dojump.o dominance.o loop-doloop.o dwarf2asm.o dwarf2out.o emit-rtl.o except.o explow.o loop-iv.o expmed.o expr.o final.o flow.o fold-const.o function.o gcse.o genrtl.o ggc-common.o global.o graph.o gtype-desc.o haifa-sched.o hooks.o ifcvt.o insn-attrtab.o insn-emit.o insn-modes.o insn-extract.o insn-opinit.o insn-output.o insn-peep.o insn-recog.o integrate.o intl.o jump.o langhooks.o lcm.o lists.o local-alloc.o loop.o mode-switching.o modulo-sched.o optabs.o options.o opts.o params.o postreload.o postreload-gcse.o predict.o insn-preds.o pointer-set.o print-rtl.o print-tree.o profile.o value-prof.o var-tracking.o real.o recog.o reg-stack.o regclass.o regmove.o regrename.o reload.o reload1.o reorg.o resource.o rtl.o rtlanal.o rtl-error.o sbitmap.o sched-deps.o sched-ebb.o sched-rgn.o sched-vis.o sdbout.o simplify-rtx.o sreal.o stmt.o stor-layout.o stringpool.o targhooks.o timevar.o toplev.o tracer.o tree.o tree-dump.o varasm.o varray.o vec.o version.o vmsdbgout.o xcoffout.o alloc-pool.o et-forest.o cfghooks.o bt-load.o pretty-print.o ggc-page.o web.o passes.o tree-profile.o rtlhooks.o cfgexpand.o lambda-mat.o lambda-trans.o lambda-code.o tree-loop-linear.o tree-ssa-sink.o tree-vrp.o tree-stdarg.o tree-cfgcleanup.o tree-ssa-reassoc.o tree-ssa-structalias.o tree-object-size.o i386.o host-default.o tree-inline.o cgraph.o cgraphunit.o tree-nomudflap.o ipa.o ipa-inline.o ipa-utils.o ipa-reference.o ipa-pure-const.o ipa-type-escape.o ipa-prop.o ipa-cp.o 22G_out_file=${GNUHOSTDIST}/gcc/config/i386/i386.c 45G_LIB2ADDEHDEP=${GNUHOSTDIST}/gcc/unwind-generic.h unwind-pe.h unwind-dw2-fde.h unwind-dw2.h 46G_CXX_OBJS=cp-lang.o stub-objc.o call.o decl.o expr.o pt.o typeck2.o class.o decl2.o error.o lex.o parser.o ptree.o rtti.o typeck.o cvt.o except.o friend.o init.o method.o search.o semantics.o tree.o repo.o dump.o optimize.o mangle.o cp-objcp-common.o name-lookup.o cxx-pretty-print.o cp-gimplify.o tree-mudflap.o attribs.o c-common.o c-format.o c-pragma.o c-semantics.o c-lex.o c-dump.o c-pretty-print.o c-opts.o c-pch.o c-incpath.o cppdefault.o c-ppoutput.o c-cppbuiltin.o prefix.o c-gimplify.o tree-inline.o 47G_CXX_C_OBJS=attribs.o c-common.o c-format.o c-pragma.o c-semantics.o c-lex.o c-dump.o c-pretty-print.o c-opts.o c-pch.o c-incpath.o cppdefault.o c-ppoutput.o c-cppbuiltin.o prefix.o c-gimplify.o tree-inline.ologging.cc https://bitbucket.org/codefirex/external_chromium.git | C++ | 380 lines
40const char* const log_severity_names[LOG_NUM_SEVERITIES] = { 41 "INFO", "WARNING", "ERROR", "FATAL" }; 42 182 183// Displays a message box to the user with the error message in it. For 184// Windows programs, it's possible that the message loop is messed up on 184// Windows programs, it's possible that the message loop is messed up on 185// a fatal error, and creating a MessageBox will cause that message loop 186// to be run. Instead, we try to spawn another process that displays its 222 // debug process broken, let's just do a message box 223 MessageBoxW(NULL, cmdline.get(), L"Fatal error", MB_OK | MB_ICONHAND); 224 } 334 if (severity_ == LOG_FATAL) { 335 // display a message or break into the debugger on a fatal error 336 if (::IsDebuggerPresent()) {hipchat_service_spec.rb https://gitlab.com/qtower/gitlab-ce | Ruby | 367 lines
45 46 it 'tests and return errors' do 47 allow(hipchat).to receive(:execute).and_raise(StandardError, 'no such room')Pop3.php https://gitlab.com/vincent.perdereau/picandparts | PHP | 472 lines
108 #require_once 'Zend/Mail/Protocol/Exception.php'; 109 throw new Zend_Mail_Protocol_Exception('cannot connect to host; error = ' . $errstr . 110 ' (errno = ' . $errno . ' )'); 239 } catch (Zend_Mail_Protocol_Exception $e) { 240 // ignore error - we're closing the socket anyway 241 }int64.lua https://gitlab.com/crondaemon/wireshark-legacy | Lua | 377 lines
18 io.stdout:write("failed!\n") 19 error(name.." test failed!") 20 end 339 340testing("error conditions") 341 355 else 356 error("test failed!") 357 end 359 360test("error1", pcall(divtest, 10, 2)) -- not an error, but checking the div function works above 361test("error2", not pcall(divtest, Int64(10), 0)) 366test("error7", not pcall(divtest, UInt64(10), UInt64(0))) 367test("error8", pcall(modtest, 17, 6)) -- not an error, but checking the mod function works above 368test("error9", not pcall(modtest, Int64(10), 0))foundation.core.js https://gitlab.com/lukamav/articles-project | JavaScript | 378 lines
125 }catch(err){ 126 console.error(err); 127 }finally{ 188 }catch(er){ 189 console.error(er); 190 }finally{ 279 } 280 }else{//error for no class or no method 281 throw new ReferenceError("We're sorry, '" + method + "' is not an available method for " + (plugClass ? functionName(plugClass) : 'this element') + '.'); 282 } 283 }else{//error for invalid argument type 284 throw new TypeError(`We're sorry, ${type} is not a valid parameter. You must use a string representing the method you wish to invoke.`); 329 // internal IsCallable function 330 throw new TypeError('Function.prototype.bind - what is trying to be bound is not callable'); 331 }TexturePackAPI.java https://bitbucket.org/Freso/mcpatcher.git | Java | 310 lines
283 } catch (IOException e) { 284 logger.error("could not read %s", resource); 285 e.printStackTrace(); 301 } catch (IOException e) { 302 logger.error("could not read %s", resource); 303 e.printStackTrace();space-variables.md https://gitlab.com/space-sh/space | Markdown | 75 lines
36| SPACE_ASSERT_EXIT² | - | - | If set, it is the expected return status of the script. If the exit status is not equal to SPACE_ASSERT_EXIT then Space will return 1. Could be set in YAML or using –e flag. | 37| - | SPACE_SIGNATURE | - | Defines a function signature describing the expected arguments to help user with validation. _Space_ will exit with error if the signature is not fulfilled. Arguments in brackets are treated as optional. The signature is validated *before* the other header variables, meaning that one cannot set SPACE_ARGS in the same header and expect SPACE_SIGNATURE to see that. Arguments can provide a minimum and optionally miximum length of values, e.g. `SPACE_SIGNATURE="name:1:100 alias:1 home [optional1 optional2]"`, where `name` must be between 1 and 100 characters, `alias` one or more characters, and `home` is implicitly zero or more characters, so `home` must still be provided but it can be an empty string. | 38| SPACE_REDIR | SPACE_REDIR | No | Redirect in/out files to the command in the export. It is encouraged to not pass files by their file name into external programs, instead, it is preferable to pipe the file into the program via `stdin` instead. This makes the _Space_ module function become wrap-friendly. That is, it can be wrapped by other Modules and eventually run on different machines such as remote targets, virtual machines or Linux containers. This is only settable from the first level function (not from the wrappers). | 38| SPACE_REDIR | SPACE_REDIR | No | Redirect in/out files to the command in the export. It is encouraged to not pass files by their file name into external programs, instead, it is preferable to pipe the file into the program via `stdin` instead. This makes the _Space_ module function become wrap-friendly. That is, it can be wrapped by other Modules and eventually run on different machines such as remote targets, virtual machines or Linux containers. This is only settable from the first level function (not from the wrappers). | 39| SPACE_ENV | SPACE_ENV | Yes | List of variable names to export with the `RUN` function. When a function depends on environment variables it must declare those variables in order to export them with the script. A separate variable name without explicit assignment is implicitly assigned to its build time value. Example: `SPACE_ENV="USER"` is the same as `SPACE_ENV="USER=${USER}"`. It is important to quote default values containing spaces otherwise it will result in a syntax error, e.g. `SPACE_ENV="users=\"\${USERS-spacegal astroboy}\""`. Always escape your default value variable names so that they are not evaluated already in build time, e.g. `SPACE_ENV="USER=\${USER-astro}"`. Assigning the variable to a `$` makes the variable contents be escaped on `$` as exported, as: `SPACE_ENV="USER=$"`. | 40| SPACE_ARGS⁵ | SPACE_ARGS | Yes | A function can replace or manipulate its arguments using this _Space_ variable. If SPACE_FN is defined then SPACE_ARGS will be the arguments to that next function but not to the build time function defined by the body of the function declaring SPACE_FN (use `SPACE_BUILDARGS="${SPACE_ARGS}"` to pass in the same arguments into the build time function). |utils.js https://gitlab.com/minhaj_mimo/weatherApp | JavaScript | 397 lines
117 var ssMiddlewares = serverUtils.getServeStaticMiddlewares(bs.options.get("serveStatic"), bs.options.get("serveStaticOptions", Immutable.Map({})).toJS()); 118 var withErrors = ssMiddlewares.filter(function(x) { return x.get("errors").size > 0 }); 119 var withoutErrors = ssMiddlewares.filter(function(x) { return x.get("errors").size === 0 }); 120 121 if (withErrors.size) { 122 withErrors.forEach(function (item) { 122 withErrors.forEach(function (item) { 123 logger.logger.error("{red:Warning!} %s", item.getIn(["errors", 0, "data", "message"])); 124 }); 126 127 if (withoutErrors.size) { 128 withoutErrors.forEach(function (item) { 274 * At this point, an item in the serveStatic array was not a string 275 * or an object so we return an error that can be logged 276 */