mirror of
https://github.com/gristlabs/grist-core.git
synced 2026-03-02 04:09:24 +00:00
(core) Raise syntax errors that Python can format nicely to show the location
Summary: Update _create_syntax_error_code to raise an error with similar arguments to the real arguments it already has, with our modifications. Test Plan: Updated python unit tests Reviewers: jarek, dsagal Reviewed By: dsagal Subscribers: dsagal Differential Revision: https://phab.getgrist.com/D3040
This commit is contained in:
@@ -97,14 +97,16 @@
|
||||
|
||||
.error_msg {
|
||||
color: black;
|
||||
cursor: default;
|
||||
margin: 4px;
|
||||
cursor: pointer;
|
||||
padding: 4px;
|
||||
}
|
||||
|
||||
.error_details {
|
||||
padding: 2px 2px 2px 2px;
|
||||
background-color: #F8ECEA;
|
||||
margin: 0 0 -2px 0;
|
||||
font-family: 'Monaco', 'Menlo', monospace;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.error_box {
|
||||
|
||||
Reference in New Issue
Block a user