Skip to content

[WIP] Error handling with failure#712

Closed
hashmap wants to merge 1 commit into
mimblewimble:masterfrom
cyclefortytwo:failure-simple
Closed

[WIP] Error handling with failure#712
hashmap wants to merge 1 commit into
mimblewimble:masterfrom
cyclefortytwo:failure-simple

Conversation

@hashmap

@hashmap hashmap commented Feb 16, 2018

Copy link
Copy Markdown
Contributor

This PR adresses #166

We explored two approaches:

This PR illustrate the first approach in wallet code, see a separate PR for the second one. This one is very close to the existing code with standard error, it 1:1 maps underlying error type to the wallet error variant.

This is work in progress, we'd like to get some initial feedback before investing more efforts into it.

@hashmap

hashmap commented Feb 18, 2018

Copy link
Copy Markdown
Contributor Author

Closing in favour of #713

@hashmap hashmap closed this Feb 18, 2018
@hashmap hashmap deleted the failure-simple branch February 18, 2018 23:38
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.

1 participant