Skip to content

Rename Application.format_reason/1 to format_error #2267

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

Merged
merged 1 commit into from
May 10, 2014

Conversation

fishcakez
Copy link
Member

Makes the function name consistent with OTP modules, which all use format_error to format reason in {:error, reason}.

Examples:

  • :inet.format_error/1
  • :file.format_error/1
  • :ssl.format_error/1

There are many more but they are all called format_error/1.

Makes the function name consistent with OTP modules, which all use
format_error to format reason in {:error, reason}
josevalim pushed a commit that referenced this pull request May 10, 2014
Rename Application.format_reason/1 to format_error
@josevalim josevalim merged commit c0debf6 into elixir-lang:master May 10, 2014
@fishcakez fishcakez deleted the application_error branch April 22, 2017 14:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants