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

Error message consistency

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

00:01:57

passed #5917
code_coverage_report

00:02:02

passed #5918
lint_code

00:01:47

passed #5915
memory_sanitizer

00:02:01

passed #5914
race_detector

00:01:56

passed #5913
unit_tests

00:02:03

 
  Build
passed #5919
build

00:04:20