Sha256: 4c5b3cac9bbdeff1bbe9a749311e4c0033ff02646f1eee5580fbf579cec31dbb

Contents?: true

Size: 519 Bytes

Versions: 13

Compression:

Stored size: 519 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

  HandlerProxyNotFound = Class.new(Error)

  NotFound = Class.new(Error)

end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
deas-0.43.5 lib/deas/exceptions.rb
deas-0.43.4 lib/deas/exceptions.rb
deas-0.43.3 lib/deas/exceptions.rb
deas-0.43.2 lib/deas/exceptions.rb
deas-0.43.1 lib/deas/exceptions.rb
deas-0.43.0 lib/deas/exceptions.rb
deas-0.42.0 lib/deas/exceptions.rb
deas-0.41.0 lib/deas/exceptions.rb
deas-0.40.0 lib/deas/exceptions.rb
deas-0.39.2 lib/deas/exceptions.rb
deas-0.39.1 lib/deas/exceptions.rb
deas-0.39.0 lib/deas/exceptions.rb
deas-0.38.0 lib/deas/exceptions.rb