Sha256: 21edeff3176b6ba2436f27b95deccd43f8cb96d89d952b2d1c9f6d90f81cd0c3

Contents?: true

Size: 647 Bytes

Versions: 39

Compression:

Stored size: 647 Bytes

Contents

module Caracal
  module Errors
    # This error is raised whenever a model is created with 
    # invalid options.
    #
    InvalidModelError = Class.new(StandardError)
    
    # This error is raised whenever a table model is passed an
    # invalid data structure.
    #
    InvalidTableDataError = Class.new(StandardError)
    
    # This error is raised if the document does not have a default 
    # style declared.
    #
    NoDefaultStyleError = Class.new(StandardError)
    
    # This error is raised when a class lacks a valid reference to a 
    # Caracal document object.
    #
    NoDocumentError = Class.new(StandardError)
  end
end

Version data entries

39 entries across 39 versions & 2 rubygems

Version Path
caracal-1.0.6 lib/caracal/errors.rb
caracal-1.0.5 lib/caracal/errors.rb
caracal-1.0.4 lib/caracal/errors.rb
caracal-1.0.3 lib/caracal/errors.rb
caracal-1.0.2 lib/caracal/errors.rb
caracal-1.0.1 lib/caracal/errors.rb
caracal-1.0.0 lib/caracal/errors.rb
caracal-0.3.0 lib/caracal/errors.rb
caracal-0.2.1 lib/caracal/errors.rb
caracal-0.2.0 lib/caracal/errors.rb
caracal-0.1.8 lib/caracal/errors.rb
caracal-0.1.7 lib/caracal/errors.rb
caracal-0.1.6 lib/caracal/errors.rb
caracal-0.1.5 lib/caracal/errors.rb
caracal-0.1.4 lib/caracal/errors.rb
caracal-0.1.3 lib/caracal/errors.rb
caracal-0.1.2 lib/caracal/errors.rb
caracal-0.1.1 lib/caracal/errors.rb
caracal-0.1.0 lib/caracal/errors.rb