Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
leger
rv
Commits
9e79b38b
Commit
9e79b38b
authored
Oct 24, 2014
by
Jean-Benoist Leger
Browse files
Error messages
parent
95673dbb
Changes
1
Hide whitespace changes
Inline
Side-by-side
herve/js/herve.js
View file @
9e79b38b
...
...
@@ -443,10 +443,26 @@ function updateRoutingStatus()
window
.
clearInterval
(
herve
.
displaytimer
);
drawResults
();
}
if
(
herve
.
State
==
17
)
{
txt
=
'
<p>Erreur: Points non connexes</p>
'
;
}
if
(
herve
.
State
==
18
)
{
txt
=
'
<p>Erreur: Distance trop longue</p>
'
;
}
if
(
herve
.
State
==
19
)
{
txt
=
'
<p>Erreur: WTF (19)</p>
'
;
}
if
(
herve
.
State
==
21
)
{
txt
=
'
<p>Erreur: Inconsistant db (21)</p>
'
;
}
if
(
herve
.
State
==
22
)
{
txt
=
'
<p>Erreur: Inconsistant db (22)</p>
'
;
}
$
(
'
#status
'
).
html
(
txt
);
...
...
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