Skip to content

Instantly share code, notes, and snippets.

@moretea
Created August 31, 2013 08:46
Show Gist options
  • Select an option

  • Save moretea/6396982 to your computer and use it in GitHub Desktop.

Select an option

Save moretea/6396982 to your computer and use it in GitHub Desktop.
h$ erl -pa ebin/
Erlang R16B01 (erts-5.10.2) [source-bdf5300] [64-bit] [smp:4:4] [async-threads:10] [hipe] [kernel-poll:false]
Eshell V5.10.2 (abort with ^G)
1> c(simple_search_server).
simple_search_server.erl:none: no such file or directory
error
2> l(simple_search_server).
{module,simple_search_server}
3> simple_search_server:start_link().
{ok,<0.40.0>}
4> simple_search_server:add(key, value).
=ERROR REPORT==== 31-Aug-2013::10:46:12 ===
** Generic server simple_search_server terminating
** Last message in was {'$gen_cast',{add_document,{key,value}}}
** When Server state == {0,nil}
** Reason for termination ==
** {bad_return_value,{noreploy,{1,{value,[key],nil,nil}}}}
** exception exit: {bad_return_value,{noreploy,{1,{value,[key],nil,nil}}}}
5>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment