Updated to new errors method name