PageRenderTime 27ms queryFilters 14ms Sphinxql 319ms app.CodeModel.GetByIds 15ms findMatchingLines 47ms GetByIds 62ms meta 0ms repositoryFilters 10ms languageFilters 8ms sourceFilters 5ms

5,840,503 results for 'ERROR repo:ingsol/music_sonata' (27 ms)

Source

Language

Repository

snmpm_config.erl https://github.com/bsmr-erlang/otp.git | Erlang | 3,436 lines
380	    Vsns;
381	{error, _} = ERROR ->
382	    throw(ERROR)
1492verify_conf_db_init_error(InvalidDbInitError) ->
1493    error({invalid_conf_db_init_error, InvalidDbInitError}).
1494
2047		    "~n   Error: ~p", [Error]),
2048	    error({bad_default_agent_config, Error})
2049    end.
2353    catch
2354	throw:{error, Reason} = Error
2355	  when element(1, Reason) =:= failed_open ->
2705                        Error ->
2706                            ?vinfo("handle_backup -> Error: ~p", [Error]),
2707                            Error
megaco_codec_test_lib.erl https://github.com/bsmr-erlang/otp.git | Erlang | 1,025 lines
175test_msgs(Codec, DD, Ver, EC, Check, 
176	  [{Name, {error, Error}, _ED, _Conf}|Msgs], Acc) ->
177    io:format("error~n", []),
382	Error ->
383	    throw({error, {encode_action_request_failed, Error, AR}})
384    end.
399%% 	    d("encode_message -> encode - failed"),
400%% 	    throw({error, {message_encode_failed, Error, M}})
401%%     end.
408	    d("encode_message -> encode - failed"),
409	    throw({error, {message_encode_failed, Error, M}})
410    end.
576			   io:format("not equal ", []),
577			   io:format("~nError: ~p~n", [Error]),
578			   Error
megaco_messenger.erl https://github.com/bsmr-erlang/otp.git | Erlang | 5,371 lines
872    {Code, Reason, Error} = PrepError,
873    ErrorDesc = #'ErrorDescriptor'{errorCode = Code, errorText = Reason},
874    Version   = 
896            {verbose_fail, ConnData, PrepError};
897        {reply,#'ErrorDescriptor'{errorCode = Code1, errorText = Reason1}} ->
898            {verbose_fail, ConnData, {Code1,Reason1,Error}};
1922	    {discard_ack, SendReply};
1923	{discard_ack, Error} when is_record(Error, 'ErrorDescriptor') ->
1924	    Reply     = {transactionError, Error},
2088	    ErrorText = atom_to_list(UserMod),
2089	    ED = #'ErrorDescriptor'{errorCode = ?megaco_internal_gateway_error,
2090				    errorText = ErrorText},
4266send_message_error(ConnData, Code, Reason) ->
4267    ED = #'ErrorDescriptor'{errorCode = Code, errorText = Reason},
4268    Body = {messageError, ED},
inet_res.erl https://github.com/bsmr-erlang/otp.git | Erlang | 1,044 lines
107      Type :: rr_type(),
108      Error :: {error, Reason} | {error,{Reason,dns_msg()}},
109      Reason :: inet:posix() | res_error().
134      Timeout :: timeout(),
135      Error :: {error, Reason} | {error,{Reason,dns_msg()}},
136      Reason :: inet:posix() | res_error().
251    case resolve(Name, Class, Type, Opts, Timeout) of
252	{error,{qfmterror,_}} -> {error,einval};
253	{error,{Reason,_}} -> {error,Reason};
558	    inet_db:res_hostent_by_domain(Name, Type, Rec);
559	{error,{qfmterror,_}} -> {error,einval};
560	{error,{Reason,_}} -> {error,Reason};
567	    inet_db:res_hostent_by_domain(Name, Type, Rec);
568	{error,{qfmterror,_}} -> {error,einval};
569	{error,{Reason,_}} -> {error,Reason};
inet.erl https://github.com/bsmr-erlang/otp.git | Erlang | 1,832 lines
442		   end, [], IfList)};
443	Error -> Error
444    end.
1332	{error,timeout} -> Res;
1333	{error,formerr} -> {error, einval};
1334	{error,_} -> gethostbyaddr_tm(Addr,Timer,Opts)
1337    case inet_hosts:gethostbyaddr(Addr) of
1338	{error,formerr} -> {error, einval};
1339	{error,_} -> gethostbyaddr_tm(Addr,Timer,Opts);
1372    case inet_gethost_native:gethostbyaddr(Addr) of
1373	{error,formerr} -> {error, einval};
1374	{error,_} -> gethostbyaddr_tm(Addr,Timer,Opts);
1506	    end;
1507	Error -> Error
1508    end.
file.erl https://github.com/bsmr-erlang/otp.git | Erlang | 1,531 lines
417            catch
418                error:Error -> {error, Error}
419            end;
901	    {ok, Copied};
902	{error, _} = Error ->
903	    Error
1379	{error,Error,_Line} ->
1380	    {error,Error};
1381	{eof,_Line} ->
1415    case file_name(Path) of
1416	{error, _} = Error ->
1417	    Error;
1429path_open_first([], _Name, _Mode, LastError) ->
1430    {error, LastError}.
1431
disk_log.erl https://github.com/bsmr-erlang/otp.git | Erlang | 1,999 lines
685        Error ->
686	    loop(S#state{cache_error = Error})
687    end;
1236
1237file_error(FileName, {error, Error}) ->
1238    {error, {file_error, FileName, Error}}.
1477
1478do_format_error({error, Module, Error}) ->
1479    Module:format_error(Error);
1481    do_format_error(Reason);
1482do_format_error({Node, Error = {error, _Reason}}) ->
1483    lists:append(io_lib:format("~p: ", [Node]), do_format_error(Error));
1986
1987cache_error(#state{cache_error=Error}=S, Pids) ->
1988    ok = replies(Pids, Error),
ftp.erl https://github.com/bsmr-erlang/otp.git | Erlang | 2,279 lines
159	    Error1 ->
160		?fcrt("open - error", [{error1, Error1}]), 
161		Error1
242%%--------------------------------------------------------------------------
243%% cd(Pid, Dir) ->  ok | {error, epath} | {error, elogin} | {error, econn}
244%%	Pid = pid()
360%%--------------------------------------------------------------------------
361%% mkdir(Pid, Dir) -> ok | {error, epath} | {error, elogin} | {error, econn}
362%%	Pid = pid(), 
375%%--------------------------------------------------------------------------
376%% rmdir(Pid, Dir) -> ok | {error, epath} | {error, elogin} | {error, econn}
377%%	Pid = pid(), 
390%%--------------------------------------------------------------------------
391%% type(Pid, Type) -> ok | {error, etype} | {error, elogin} | {error, econn}
392%%	Pid = pid() 
trycatch_SUITE.erl https://github.com/bsmr-erlang/otp.git | Erlang | 1,314 lines
74        catch 
75            error:badarith -> error
76        end,
79        catch 
80            error:badarith -> error
81        end,
311    {{exit,V},V} = after_oops_1({exit,V}, {value,V}),
312    {{error,V},undefined} = after_oops_1({value,V}, {error,V}),
313    {{error,function_clause},undefined} =
838    my_abs(X);
839foo({error,Error}) -> 
840    erlang:error(Error);
875	    do_tail(T)
876    catch error:badarg -> error
877    end.
guard_SUITE.erl https://github.com/bsmr-erlang/otp.git | Erlang | 2,277 lines
111    ok = if is_atom(Zero > One) -> ok end,
112    error = if abs(Zero > One) -> ok; true -> error end,
113    ok = if is_integer(Zero) >= is_integer(One) -> ok end,
585
586    check(fun() -> if true, false -> ok; true -> error end end, error),
587    check(fun() -> if false, true -> ok; true -> error end end, error),
972    check(fun() -> if true xor true -> ok; true -> error end end, error),
973    check(fun() -> if false xor false -> ok; true -> error end end, error),
974    check(fun() ->
991    check(fun() -> if True xor True -> ok; true -> error end end, error),
992    check(fun() -> if False xor False -> ok; true -> error end end, error),
993    check(fun() ->
1865%%
1866-define(MASK_ERROR(EXPR),mask_error((catch (EXPR)))).
1867mask_error({'EXIT',{Err,_}}) ->
ct_netconfc.erl https://github.com/bsmr-erlang/otp.git | Erlang | 1,820 lines
150-define(error(ConnName,Report),
151	error_logger:error_report([{ct_connection,ConnName},
152				   {client,self()},
613      Timeout :: timeout(),
614      Result :: ok | {error,error_reason()}.
615edit_config(Client, Target, Config, OptParams, Timeout) when not is_list(Config)->
844      SessionId :: pos_integer(),
845      Result :: ok | {error,error_reason()}.
846kill_session(Client, SessionId) ->
852      Timeout :: timeout(),
853      Result :: ok | {error,error_reason()}.
854kill_session(Client, SessionId, Timeout) ->
1320			_ ->
1321			    ?error(ConnName,[{error,rpc_reply_missing_msg_id}]),
1322			    {noreply,State}
ct_framework.erl https://github.com/bsmr-erlang/otp.git | Erlang | 1,701 lines
984
985    PrintError = fun(ErrorFormat, ErrorArgs) ->
986                      Div = "\n- - - - - - - - - - - - - - - - - - - "
987                            "- - - - - - - - - - - - - - - - - - - - -\n",
988		       ErrorStr2 = io_lib:format(ErrorFormat, ErrorArgs),
989                      io:format(?def_gl, "~ts~n", [lists:concat([Div,ErrorStr2,Div])]),
1002	[{?MODULE,error_in_suite}] ->
1003	    PrintError("Error in suite detected: ~ts", [ErrorStr]);
1004
1150                _:Error:S ->
1151                    [{?MODULE,error_in_suite,[[{error,{Error,S}}]]}]
1152            end;
1185    case get_suite(Suite, all) of
1186	[{?MODULE,error_in_suite,[[{error,_}=Error]]}] ->
1187		Error;
prim_inet.erl https://github.com/bsmr-erlang/otp.git | Erlang | 2,706 lines
785	    {ok, A};
786	{error, _} = Error -> Error
787    end.
791	{ok, []} -> ok;
792	{error, _} = Error -> Error
793    end;
798		{ok, []} -> ok;
799		{error, _} = Error -> Error
800	    end;
1156			{ok, _} -> ok;
1157			{error,_}=Error -> Error
1158		    end;
2474    catch
2475	Error  -> {error,Error}
2476    end.
erl_prim_loader.erl https://github.com/bsmr-erlang/otp.git | Erlang | 1,573 lines
306                        time=>os:system_time(microsecond),
307                        error_logger=>#{tag=>error_report,
308                                        type=>std_error}}},
818                ok -> {ok, S};
819                Error -> port_error(S, Error)
820            end;
838                            {ok, S};
839                        Error -> port_error(S, Error)
840                    end;
840                    end;
841                Error -> port_error(S, Error)
842            end;
842            end;
843        Error -> Error
844    end.
xfs_bmap_util.c https://bitbucket.org/alfredchen/linux-gc.git | C | 2,091 lines
37#include "xfs_rtalloc.h"
38#include "xfs_error.h"
39#include "xfs_quota.h"
90{
91	int		error;		/* error return value */
92	xfs_mount_t	*mp;		/* mount point structure */
103					ap->conv, &ap->offset, &ap->length);
104	if (error)
105		return error;
143
144		error = xfs_rtpick_extent(mp, ap->tp, ralen, &rtx);
145		if (error)
1778out:
1779	trace_xfs_swap_extent_rmap_error(ip, error, _RET_IP_);
1780	tip->i_d.di_flags2 = tip_flags2;
nfs4trace.h https://bitbucket.org/alfredchen/linux-gc.git | C Header | 1,592 lines
619			__entry->error,
620			show_nfsv4_errors(__entry->error),
621			show_lock_cmd(__entry->cmd),
1235				len = 0;
1236			__entry->error = error < 0 ? error : 0;
1237			__entry->id = id;
1361			__entry->error,
1362			show_nfsv4_errors(__entry->error),
1363			MAJOR(__entry->dev), MINOR(__entry->dev),
1407			__entry->count = data->args.count;
1408			__entry->error = error;
1409		),
1414			__entry->error,
1415			show_nfsv4_errors(__entry->error),
1416			MAJOR(__entry->dev), MINOR(__entry->dev),
ms_block.c https://bitbucket.org/alfredchen/linux-gc.git | C | 2,359 lines
228	msb->state = 0;
229	msb->exit_error = 0;
230
246	msb->state = -1;
247	msb->exit_error = error;
248	msb->card->next_request = h_msb_default_bad;
249
250	/* Invalidate reg window on errors */
251	if (error)
458		} else {
459			dbg("read_page: INT error, but no status error bits");
460			return msb_exit_state_machine(msb, -EIO);
1785
1786	if (error && error != -ENOMEM) {
1787		dbg("failed to read bad block table from primary boot block, trying from backup");
i915_gpu_error.c https://bitbucket.org/alfredchen/linux-gc.git | C | 1,684 lines
543	struct pci_dev *pdev = dev_priv->drm.pdev;
544	struct drm_i915_error_state *error = error_priv->error;
545	struct drm_i915_error_object *obj;
1532
1533	len = scnprintf(error->error_msg, sizeof(error->error_msg),
1534			"GPU HANG: ecode %d:%d:0x%08x",
1543
1544	scnprintf(error->error_msg + len, sizeof(error->error_msg) - len,
1545		  ", reason: %s, action: %s",
1631		if (!dev_priv->gpu_error.first_error) {
1632			dev_priv->gpu_error.first_error = error;
1633			error = NULL;
1660	spin_lock_irq(&dev_priv->gpu_error.lock);
1661	error_priv->error = dev_priv->gpu_error.first_error;
1662	if (error_priv->error)
NIKWordApi.m https://github.com/sforce100/swagger-codegen.git | Objective C | 1,088 lines
69                           headerParams: headerParams
70                      completionHandler: ^(NSDictionary *data, NSError *error) {
71        if (error) {
494                           headerParams: headerParams
495                      completionHandler: ^(NSDictionary *data, NSError *error) {
496        if (error) {
1031                responseData = [NSJSONSerialization dataWithJSONObject:data
1032                                                               options:kNilOptions error:&error];
1033            }
1065                           headerParams: headerParams
1066                      completionHandler: ^(NSDictionary *data, NSError *error) {
1067        if (error) {
1073                responseData = [NSJSONSerialization dataWithJSONObject:data
1074                                                               options:kNilOptions error:&error];
1075            }
reltool_util.erl git://github.com/okeuday/CloudI.git | Erlang | 1,288 lines
143                                    ensure_application_started(Application);
144                                {error, _} = Error ->
145                                    Error
416            ok;
417        {error, _} = Error ->
418            Error
1033                                      Applications, Root, Apps);
1034        {error, _} = Error ->
1035            Error
1060                                              [A | Applications], Root, Apps);
1061                {error, _} = Error ->
1062                    Error
1078                                      Applications, Root, Apps);
1079        {error, _} = Error ->
1080            Error
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21