ExCheck v0.5.2 ExCheck.ErrorAgent

Agent which stores errors untill all tests are finished.

Summary

Functions

Saves an error message

Clears all errors stored by this agent

Return all errors stored by this agent

Start the agent and link it to the calling process

Stops the agent

Functions

add_error(agent, pid, msg)

Saves an error message.

clear_errors(agent)

Clears all errors stored by this agent.

errors(agent)

Return all errors stored by this agent.

start_link()

Start the agent and link it to the calling process.

stop(agent)

Stops the agent.