fix #397, make TargetAction use errorResId and errorDrawable
formatting fixes and documentation
added documentation links
Merge pull request #399 from codecrafters/targetAction

fix #397, make TargetAction use errorResId and errorDrawable