This is an automated email from the ASF dual-hosted git repository.

lyndsi pushed a commit to branch 
lyndsi/sql-lab-new-explore-button-functionality-and-move-save-dataset-to-split-save-button
in repository https://gitbox.apache.org/repos/asf/superset.git

commit d37c27fb691e092081cea148d3524dd22db6f64b
Author: AAfghahi <[email protected]>
AuthorDate: Fri Jun 24 14:07:46 2022 -0400

    added error messages
---
 superset/errors.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/superset/errors.py b/superset/errors.py
index 44ad2477cd..5d59efb1f7 100644
--- a/superset/errors.py
+++ b/superset/errors.py
@@ -91,7 +91,7 @@ class SupersetErrorType(str, Enum):
     INVALID_PAYLOAD_SCHEMA_ERROR = "INVALID_PAYLOAD_SCHEMA_ERROR"
 
     # Dataset/Datasource Errors
-    CHART_TYPE_REQUIRES_DATASET_ERROR = "CHART_TYPE_REQUIRES_DATASET_ERROR"
+    VIZ_TYPE_REQUIRES_DATASET_ERROR = "VIZ_TYPE_REQUIRES_DATASET_ERROR"
 
 
 ISSUE_CODES = {

Reply via email to