Sha256: 6a0d78b95dd741d3dc7dffebeb24e62046b515d650a369594f459adaebf50460

Contents?: true

Size: 527 Bytes

Versions: 4

Compression:

Stored size: 527 Bytes

Contents

#
#   lib/porolog/error.rb      - Plain Old Ruby Objects Prolog Engine -- Error
#
#     Luis Esteban   2 May 2018
#       created
#

module Porolog

  # Error class to enable rescuing or detecting any Porolog error.
  #
  # @author Luis Esteban
  #
  class PorologError < RuntimeError ; end
  
  # Error indicating that a Goal is needed but could not be found.
  class NoGoalError  < PorologError ; end
  
  # Error indicating that a Variable is needed but was not provided.
  class NonVariableError  < PorologError ; end

end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
porolog-1.0.3 lib/porolog/error.rb
porolog-1.0.2 lib/porolog/error.rb
porolog-1.0.1 lib/porolog/error.rb
porolog-1.0.0 lib/porolog/error.rb