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
nomad-lab
nomad-lab-base
Commits
5af3cea7
Commit
5af3cea7
authored
Dec 10, 2018
by
Mohamed, Fawzi Roberto (fawzi)
Browse files
Improve error message for unexpectedly repeated fields
parent
1cd40f51
Pipeline
#40725
failed with stages
in 52 minutes and 55 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
core/src/main/scala/eu/nomad_lab/h5/SectionH5.scala
View file @
5af3cea7
...
...
@@ -168,7 +168,7 @@ case class SectionH5(
case
1
=>
Some
(
vColl
.
head
)
case
l
=>
throw
new
CalculationH5
.
CalculationH5Error
(
s
"cannot get maybeValue for $this as it is repeated and has $l repetitions"
)
throw
new
CalculationH5
.
CalculationH5Error
(
s
"cannot get maybeValue for
$metaName from
$this as it is repeated and has $l repetitions"
)
}
}
...
...
Write
Preview
Supports
Markdown
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