Error analysis is a part of task analysis that identifies the frequency and types of errors that occur for a set of task flows. Errors occur when certain actions in an application or website cannot be completed. It should be your main task as a designer to identify errors well, to anticipate their solutions and to consider that users are only human and can make mistakes.