Sha256: d7f7f62ebd06e2dfc6f306ea50895ec75e63e5bae28df59d0195cc79e7a12446

Contents?: true

Size: 649 Bytes

Versions: 1

Compression:

Stored size: 649 Bytes

Contents

module Stamina
  
  # Raised when an algorithm explicitely abords something
  class Abord < StandardError; end

  # Main class of all stamina errors.
  class StaminaError < StandardError; end
  
  # Raised by samples implementations and other induction algorithms
  # when a sample is inconsistent (same string labeled as being both 
  # positive and negative)
  class InconsistencyError < StaminaError; end
  
  # Specific errors of the ADL module.
  module ADL
    
    # Raised by the ADL module when an automaton, string or sample
    # format is violated at parsing time.
    class ParseError < StaminaError; end
  
  end

end # module Stamina

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
stamina-0.4.0 lib/stamina/errors.rb