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

feat: make error module public #78

Merged
merged 1 commit into from
Jan 13, 2019
Merged

Conversation

fdehau
Copy link
Contributor

@fdehau fdehau commented Jan 13, 2019

With the recent introduction of the explicit error handling #69, Result and ErrorKind types were added as part of the signature of some functions of the public api. In order to use this crate within an other one (e.g tui in my case), the error might need to be converted which is to my understanding impossible in the current state since those types are private. Thus this change makes the error module public.

@TimonPost
Copy link
Member

TimonPost commented Jan 13, 2019

Thanks, yes this might be helpful indeed and this should be public.

@TimonPost
Copy link
Member

Let's merge this! Thanks for the change.

@TimonPost TimonPost merged commit 2ca92e4 into crossterm-rs:master Jan 13, 2019
@TimonPost
Copy link
Member

TimonPost commented Jan 26, 2019

Crossterm 5.5 fixes this. In case you where using GitHub link as dependencies move it over to crossterm 5.5, the coming days I'll have API breaking changes for 6.0 on master.

@fdehau fdehau deleted the error branch February 3, 2019 18:16
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.

2 participants