Sha256: 15b79dc226c120902b944e5cc19f7b677dd4544758229227c6c0d1fbc570dcfc

Contents?: true

Size: 573 Bytes

Versions: 115

Compression:

Stored size: 573 Bytes

Contents

# Define some basic Sprockets error classes
module Sprockets
  class Error           < StandardError; end
  class ArgumentError           < Error; end
  class CircularDependencyError < Error; end
  class ContentTypeMismatch     < Error; end
  class EncodingError           < Error; end
  class FileNotFound            < Error; end
  class FileOutsidePaths        < Error; end
  class UnserializeError        < Error; end

  module EngineError
    attr_accessor :sprockets_annotation

    def message
      [super, sprockets_annotation].compact.join("\n")
    end
  end
end

Version data entries

115 entries across 90 versions & 18 rubygems

Version Path
fc-webicons-0.0.2 vendor/bundle/ruby/1.9.1/gems/sprockets-2.2.2/lib/sprockets/errors.rb
fc-webicons-0.0.1 vendor/bundle/ruby/1.9.1/gems/sprockets-2.2.2/lib/sprockets/errors.rb
active_mailer-0.0.5 test/fixtures/dummyapp_rails_3.2/vendor/bundle/ruby/1.9.1/gems/sprockets-2.2.2/lib/sprockets/errors.rb
active_mailer-0.0.4 test/fixtures/dummyapp_rails_3.2/vendor/bundle/ruby/1.9.1/gems/sprockets-2.2.2/lib/sprockets/errors.rb
active_mailer-0.0.3 test/fixtures/dummyapp_rails_3.2/vendor/bundle/ruby/1.9.1/gems/sprockets-2.2.2/lib/sprockets/errors.rb
graphael-on-rails-0.5.1 vendor/bundle/gems/sprockets-2.2.2/lib/sprockets/errors.rb
graphael-on-rails-0.0.1 vendor/bundle/gems/sprockets-2.2.2/lib/sprockets/errors.rb
challah-0.9.1.beta.3 vendor/bundle/gems/sprockets-2.2.2/lib/sprockets/errors.rb
devise_sociable-0.1.0 vendor/bundle/gems/sprockets-2.2.2/lib/sprockets/errors.rb
backbone-queryparams-rails-0.0.1 vendor/bundle/gems/sprockets-2.2.2/lib/sprockets/errors.rb
railscast-assets-0.0.2 vendor/bundle/gems/sprockets-2.2.2/lib/sprockets/errors.rb
railscast-assets-0.0.2 vendor/bundle/gems/backbone-forms-on-rails-0.10.0/vendor/bundle/gems/sprockets-2.2.2/lib/sprockets/errors.rb
backbone-forms-on-rails-0.10.0 vendor/bundle/gems/sprockets-2.2.2/lib/sprockets/errors.rb
backbone-forms-on-rails-0.10.0 vendor/bundle/gems/backbone-forms-on-rails-0.10.0/vendor/bundle/gems/sprockets-2.2.2/lib/sprockets/errors.rb
backbone-deep-rails-0.0.1 vendor/bundle/gems/sprockets-2.2.2/lib/sprockets/errors.rb
challah-0.9.1.beta vendor/bundle/gems/sprockets-2.2.2/lib/sprockets/errors.rb
sunrise-cms-0.5.0.rc1 vendor/bundle/ruby/1.9.1/gems/sprockets-2.2.2/lib/sprockets/errors.rb
challah-0.9.0 vendor/bundle/gems/sprockets-2.2.2/lib/sprockets/errors.rb
jquery_regex-0.0.3 vendor/bundle/gems/sprockets-2.2.2/lib/sprockets/errors.rb
jquery_regex-0.0.3 vendor/bundle/gems/jquery_regex-0.0.3/vendor/bundle/gems/jquery_regex-0.0.2/vendor/bundle/gems/sprockets-2.2.2/lib/sprockets/errors.rb