Use `sprintf` instead of string interpolation here. Additionally, do not end exception messages with punctuation (PHP treats it as a sentence fragment when reporting).