Merge branch 'fix/error-consistency' into 'master'

Error message consistency

See merge request !3
7 jobs for master in 6 minutes and 35 seconds (queued for 4 seconds)
latest
Status Job ID Name Coverage
  Test
passed #5228
code_coverage

00:02:16

passed #5229
code_coverage_report

00:02:15

passed #5230
lint_code

00:02:00

passed #5227
memory_sanitizer

00:02:26

passed #5226
race_detector

00:02:01

passed #5225
unit_tests

00:01:51

 
  Build
passed #5231
build

00:04:08