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_the_curve-1.4.6 lib/caracal/errors.rb
caracal_the_curve-1.4.5 lib/caracal/errors.rb
caracal_the_curve-1.4.4 lib/caracal/errors.rb
caracal_the_curve-1.4.3 lib/caracal/errors.rb
caracal_the_curve-1.4.2 lib/caracal/errors.rb
caracal_the_curve-1.4.1 lib/caracal/errors.rb
caracal-1.4.1 lib/caracal/errors.rb
caracal-1.4.0 lib/caracal/errors.rb
caracal-1.3.0 lib/caracal/errors.rb
caracal-1.2.0 lib/caracal/errors.rb
caracal-1.1.2 lib/caracal/errors.rb
caracal-1.1.1 lib/caracal/errors.rb
caracal-1.1.0 lib/caracal/errors.rb
caracal-1.0.13 lib/caracal/errors.rb
caracal-1.0.12 lib/caracal/errors.rb
caracal-1.0.11 lib/caracal/errors.rb
caracal-1.0.10 lib/caracal/errors.rb
caracal-1.0.9 lib/caracal/errors.rb
caracal-1.0.8 lib/caracal/errors.rb
caracal-1.0.7 lib/caracal/errors.rb