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

Make ValidationContext and ExecutionContext use non-core Error types #269

Closed
5 tasks
DaviRain-Su opened this issue Nov 29, 2022 · 1 comment
Closed
5 tasks
Assignees
Labels
O: new-feature Objective: aims to add new feature S: errors Scope: related to error handlings
Milestone

Comments

@DaviRain-Su
Copy link
Contributor

DaviRain-Su commented Nov 29, 2022

Originally comes out of discussion

Currently, our methods in our Context traits return the Error types that are used by our handlers. We should create new Error types for methods in the Context traits. This will allow us to remove error variants that are only meant to be used by hosts (e.g. this).


For Admin Use

  • Not duplicate issue
  • Appropriate labels applied
  • Appropriate milestone (priority) applied
  • Appropriate contributors tagged
  • Contributor assigned/self-assigned
@plafer plafer changed the title Make sure there's a Error::Other variant for host methods to use. This PR is getting big enough, we can change host functions in another PR. Make ValidationContext and ExecutionContext use non-core Error types Nov 29, 2022
@plafer plafer added the O: new-feature Objective: aims to add new feature label Nov 29, 2022
@Farhad-Shabani Farhad-Shabani added the S: errors Scope: related to error handlings label Jan 9, 2023
@plafer plafer self-assigned this Feb 22, 2023
@plafer plafer added this to the v0.30.0 milestone Feb 22, 2023
@Farhad-Shabani Farhad-Shabani modified the milestones: v0.30.0, v0.31.0, v0.32.0 Feb 27, 2023
@Farhad-Shabani Farhad-Shabani modified the milestones: v0.32.0, v0.33.0, v0.34.0 Mar 13, 2023
@plafer
Copy link
Contributor

plafer commented Mar 20, 2023

This is now a duplicate of #270

@plafer plafer closed this as not planned Won't fix, can't repro, duplicate, stale Mar 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
O: new-feature Objective: aims to add new feature S: errors Scope: related to error handlings
Projects
Status: Done
Development

No branches or pull requests

3 participants