{"extended":{"hasExtended":true,"docs":"
errorCount([ property, name ]) <!--- Check how many errors are set on the object --->\n<cfif author.errorCount() GTE 10>\n <!--- Do something to deal with this very erroneous author here... --->\n</cfif>\n\n<!--- Check how many errors are associated with the `email` property --->\n<cfif author.errorCount("email") gt 0>\n <!--- Do something to deal with this erroneous author here... --->\n</cfif>"},"hint":"Returns the number of errors this object has associated with it. Specify property or name if you wish to count only specific errors.","returntype":"","slug":"errorcount","parameters":[{"default":"","required":"No","hint":"Specify a property name here if you want to count only errors set on a specific property.","name":"property","type":"string"},{"default":"","required":"No","hint":"Specify an error name here if you want to count only errors set with a specific error name.","name":"name","type":"string"}],"name":"errorCount","availableIn":{},"tags":{"categoryClass":"","sectionClass":"","category":"","section":""}}