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

refactor: separate ModuleError from ModuleGraphError #250

Merged
merged 1 commit into from Mar 6, 2023

Conversation

nayeemrmn
Copy link
Collaborator

Towards #228

Copy link
Member

@dsherret dsherret left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@@ -137,44 +137,93 @@ impl Range {
}

#[derive(Debug, Clone)]
pub enum ModuleGraphError {
pub enum ModuleError {
LoadingErr(ModuleSpecifier, Option<Range>, Arc<anyhow::Error>),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we should eventually change these all to object syntax so it's more understandable.

@dsherret dsherret merged commit f91e6a1 into denoland:main Mar 6, 2023
@nayeemrmn nayeemrmn deleted the module-error branch March 6, 2023 18:44
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