AbstractAlignmentValidator.onError

Implement those methods to define your own behaviour.

During validation process, in case of an error the corresponding method gets called, and is provided the object where the error occurred, and type of the error. Objects are passed by reference so that they can be changed (fixed / cleaned up / etc.)

If onError() returns true, that means to continue validation process for this particular entity. Otherwise, all other validation checks are skipped and next entity is processed.

  1. bool onError(BamRead al, AlignmentError error)
    class AbstractAlignmentValidator
    abstract
    bool
    onError
  2. bool onError(BamRead al, CigarError error)
  3. bool onError(string key, Value value, TagError error)

Meta