Use report_error for newer versions of fmt
throw_format_error
has been deprecated since 10.2.0 and it's already removed in master
.
Since 11.0.0 throw_format_error
calls report_error
so this PR doesn't change anything for those versions.
Edited by Juan Miguel Carceller