Frappe.errprint no longer recognised in Custom Script

Using frappe.errprint for debugging Custom Scripts is critical, however since updating to v10 it no longer works. Console output is:

Uncaught (in promise) TypeError: frappe.errprint is not a function
at onload (eval at setup (form.min.js?ver=1515508341.0:2641), <anonymous>:3:9)
at runner (form.min.js?ver=1515508341.0:2575)
at form.min.js?ver=1515508341.0:2590
at <anonymous>

Any ideas on how to fix this? I can see it’s still a function in and frappe.msgprint still works so I’m lost as to the issue here.

frappe.errprint is for server-side scripting. try using console.log or console.error

Thanks, console.log works fine.