-
Notifications
You must be signed in to change notification settings - Fork 3.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add more documentation to exceptions #14211
Comments
I believe this is generally a good suggestion. Our exceptions generally mean "bad input", so there isn't much we can do on advisable steps rather than "make sure you give the correct input", but I am certain adding examples of when they are raised will enrich the documentation. |
But the exceptions are caused by various issues and someone new to elixir, might not understand how to debug and understand the exceptions, so suggestion such as understand the error message base on the type of error message, inspect the problem using IO.inspect, convert or validate the input, this one is a suggestion for an error on BadBooleanError that is one of the exceptions and I did all this jotting down by understanding the errors and the steps that can guild me and I think it would help someone else and will also enrich the documentation |
Please need help, having issue running the make or to format my code that i am trying to contribute @josevalim, Crash dump is being written to: erl_crash.dump...done |
Can you please let us know which steps you ran in order to compile it? Also please let us know your Erlang version. Thank you! |
Elixir 1.18.1 (compiled with Erlang/OTP 26) Thank you |
Hrm, you should not see an "Elixir version". I wonder if the Elixir version you have on your system is impacting the one you are compiling? Can you do this:
|
Okay, i will this now Thank you |
Okay, i will this now Thank you, still having the same issue: make[1]: Entering directory '/root/elixir' Crash dump is being written to: erl_crash.dump...done |
Sorry, I can't explain it. The above is supposed to work. The only other reason I can think is that there is a bug in the most recent Erlang (you are using one patch version after mine) but I find that to be unlikely. |
I am trying to install a lower version |
should i also reduce the elixir -v, because now i am getting this error: Runtime terminating during boot ({undef,[{Elixir.Kernel.CLI,main,+elixirc--ignore-module-conflictlib/elixir/unicode/unicode.ex-olib/elixir/ebin,[]},{init,start_em,1,[]},{init,do_boot,3,[]}]}) Crash dump is being written to: erl_crash.dump...done |
If you can't compile Elixir, |
Thank you, it finally generated |
@josevalim |
@bennydreamtech23 you'll need to fork the repository and then push to your fork: Use the fork button on this page: https://github.com/elixir-lang/elixir Then, assuming your repository is called "bennydreamtech23/elixir" use $ git remote set-url origin [email protected]:bennydreamtech23/elixir.git
$ git push |
Thank you |
Have succesfully created the pull request |
Closing in favor of the PR, thank you! |
wow Thank you so muh, I am very thrilled |
The text was updated successfully, but these errors were encountered: