Clean up comment
Expose arguments as error attribute
Allow both string and function conditions
Fix exports, increase coverage
Clean up examples
Improve coverage