Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Validata
Validata Core
Commits
9ebd00e1
Commit
9ebd00e1
authored
Dec 03, 2020
by
Pierre Dittgen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Patch basic error codes
parent
6abf3196
Pipeline
#2382
passed with stage
in 56 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
validata_core/helpers.py
validata_core/helpers.py
+5
-0
No files found.
validata_core/helpers.py
View file @
9ebd00e1
...
...
@@ -30,6 +30,11 @@ def prepare_source(source_type, name, source) -> Tuple[Any, Dict]:
ERROR_CODE_TO_FR_LABEL
=
{
# TODO: to be refined
'type-error'
:
'type incorrect'
,
'format-error'
:
'format incorrect'
,
'constraint-error'
:
'format incorrect'
,
# Core checks
'blank-header'
:
'en-tête manquant'
,
'blank-row'
:
'ligne vide'
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment