Sha256: c0fd39302a806a60a9eb388216a1d78d4dd274bac9a93078df108b518c34e206

Contents?: true

Size: 445 Bytes

Versions: 21

Compression:

Stored size: 445 Bytes

Contents

module Deas

  Error = Class.new(RuntimeError)
  ServerError = Class.new(Error)

  ServerRootError = Class.new(ServerError) do
    def message
      "server `root` not set but required"
    end
  end

  NoHandlerClassError = Class.new(Error) do
    def initialize(handler_class_name)
      super "Deas couldn't find the view handler '#{handler_class_name}'" \
            " - it doesn't exist or hasn't been required in yet."
    end
  end

end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
deas-0.31.0 lib/deas/exceptions.rb
deas-0.30.0 lib/deas/exceptions.rb
deas-0.29.0 lib/deas/exceptions.rb
deas-0.28.0 lib/deas/exceptions.rb
deas-0.27.0 lib/deas/exceptions.rb
deas-0.26.0 lib/deas/exceptions.rb
deas-0.25.0 lib/deas/exceptions.rb
deas-0.24.1 lib/deas/exceptions.rb
deas-0.24.0 lib/deas/exceptions.rb
deas-0.23.4 lib/deas/exceptions.rb
deas-0.23.3 lib/deas/exceptions.rb
deas-0.23.2 lib/deas/exceptions.rb
deas-0.23.1 lib/deas/exceptions.rb
deas-0.23.0 lib/deas/exceptions.rb
deas-0.22.1 lib/deas/exceptions.rb
deas-0.22.0 lib/deas/exceptions.rb
deas-0.21.0 lib/deas/exceptions.rb
deas-0.20.0 lib/deas/exceptions.rb
deas-0.19.0 lib/deas/exceptions.rb
deas-0.18.0 lib/deas/exceptions.rb