Author: Mikhail Golenkov
MDL-74993 course: Output cm id when throwing Invalid course module id
http://git.moodle.org/gw?p=moodle.git;a=commit;h=db04ed91ae41411dcda1c3c20988b85dd922031b
http://github.com/moodle/moodle/commit/db04ed91ae41411dcda1c3c20988b85dd922031b
+ 4.1 en [invalidcoursemoduleid,core_error]