Skip to content
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

Use Exception.message to retrieve error message #9

Merged
merged 1 commit into from Nov 3, 2022

Conversation

martosaur
Copy link
Contributor

While most of the time elixir errors have message field, this isn't a requirement. Good thing is that implementing message/1 callback is a requirement, so we can use Exception.message/1

@codecov
Copy link

codecov bot commented Nov 3, 2022

Codecov Report

Base: 100.00% // Head: 100.00% // No change to project coverage 👍

Coverage data is based on head (c4ff1e9) compared to base (1ca7216).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff            @@
##            master        #9   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            9         9           
  Lines          114       114           
=========================================
  Hits           114       114           
Impacted Files Coverage Δ
lib/hush/resolver.ex 100.00% <100.00%> (ø)
lib/hush/transformer.ex 100.00% <100.00%> (ø)
lib/hush/transformer/cast.ex 100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@gordalina gordalina merged commit 7d29e31 into gordalina:master Nov 3, 2022
@gordalina
Copy link
Owner

Released in v1.0.2. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants