Sha256: 8af9e694df19eae5e4d11076e646fd5b422af88a89186f4ba4f724d346841d70

Contents?: true

Size: 1.15 KB

Versions: 1

Compression:

Stored size: 1.15 KB

Contents

# coding: utf-8

module ThinReports
  
  module Errors
    class Basic < ::StandardError
    end
    
    class UnknownShapeStyleName < Basic
    end
    
    class UnknownShapeType < Basic
    end
    
    class UnknownFormatterType < Basic
    end
    
    class LayoutFileNotFound < Basic
    end
    
    class NoRegisteredLayoutFound < Basic
    end
    
    class UnknownItemId < Basic
    end
    
    class DisabledListSection < Basic
    end
    
    class UnknownEventType < Basic
    end
    
    class UnknownLayoutId < Basic
    end
    
    class UnknownGeneratorType < Basic
    end
    
    class NoConfigurationFound < Basic
    end
    
    class UnsupportedColorName < Basic
    end
    
    class InvalidLayoutFormat < Basic
    end
    
    class IncompatibleLayoutFormat < Basic
      def initialize(filename, fileversion, required_rules)
        super("Generator #{ThinReports::VERSION} can not be built this file, " +
              "'#{File.basename(filename)}'." +
              "This file is created in the Editor of version '#{fileversion}', " +
              "but Generator requires version #{required_rules}.")
      end      
    end
  end
    
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
thinreports-0.6.0.pre3 lib/thinreports/core/errors.rb