Sha256: 22439540506b9cd9714eff5ef967f680f52602e8bc5a01bda937bea8c7d412ab

Contents?: true

Size: 455 Bytes

Versions: 15

Compression:

Stored size: 455 Bytes

Contents

module Lolita
  module Translation
    class ConfigurationNotInitializedError < StandardError
      def initialize(klass)
        super %Q{Configuration is not initialized for #{klass}. Try to call #translate in class.}
      end
    end

    class NoBuilderForClassError < ArgumentError
      def initialize(klass)
        super %Q{No builder for #{klass}. See available builder in /lib/lolita-translation/builder directory.}
      end
    end 
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
lolita-translation-0.8.4 lib/lolita-translation/errors.rb
lolita-translation-0.8.3 lib/lolita-translation/errors.rb
lolita-translation-0.8.2 lib/lolita-translation/errors.rb
lolita-translation-0.8.1 lib/lolita-translation/errors.rb
lolita-translation-0.8.0 lib/lolita-translation/errors.rb
lolita-translation-0.7.4 lib/lolita-translation/errors.rb
lolita-translation-0.7.3 lib/lolita-translation/errors.rb
lolita-translation-0.7.2 lib/lolita-translation/errors.rb
lolita-translation-0.7.1 lib/lolita-translation/errors.rb
lolita-translation-0.7.0 lib/lolita-translation/errors.rb
lolita-translation-0.6.3 lib/lolita-translation/errors.rb
lolita-translation-0.6.2 lib/lolita-translation/errors.rb
lolita-translation-0.6.1 lib/lolita-translation/errors.rb
lolita-translation-0.6.0 lib/lolita-translation/errors.rb
lolita-translation-0.5.0 lib/lolita-translation/errors.rb