summaryrefslogtreecommitdiff
path: root/cli/errors.rs
diff options
context:
space:
mode:
Diffstat (limited to 'cli/errors.rs')
-rw-r--r--cli/errors.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/cli/errors.rs b/cli/errors.rs
index eb7282265..4dc22efbf 100644
--- a/cli/errors.rs
+++ b/cli/errors.rs
@@ -35,7 +35,8 @@ fn get_module_graph_error_class(err: &ModuleGraphError) -> &'static str {
ModuleGraphError::ResolutionError(err) => get_resolution_error_class(err),
ModuleGraphError::UnsupportedMediaType { .. }
| ModuleGraphError::UnsupportedImportAssertionType { .. } => "TypeError",
- ModuleGraphError::Missing(_, _) => "NotFound",
+ ModuleGraphError::Missing(_, _)
+ | ModuleGraphError::MissingDynamic(_, _) => "NotFound",
}
}