Skip to content

refactor: separate ModuleError from ModuleGraphError#250

Merged
dsherret merged 1 commit intodenoland:mainfrom
nayeemrmn:module-error
Mar 6, 2023
Merged

refactor: separate ModuleError from ModuleGraphError#250
dsherret merged 1 commit intodenoland:mainfrom
nayeemrmn:module-error

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!

#[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.

2 participants