Added a basic example of how error reporting works.