Document how to register other types of errors as failures.