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

Error message consistency

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

00:02:01

passed #5869
code_coverage_report

00:02:02

passed #5870
lint_code

00:01:43

passed #5867
memory_sanitizer

00:02:03

passed #5866
race_detector

00:02:00

passed #5865
unit_tests

00:02:02

 
  Build
passed #5871
build

00:04:14