Sha256: 8056cca88dbd54b108a5983b9bc44eadffe8dcce5a6b49a2c2f4979903a4260d

Contents?: true

Size: 488 Bytes

Versions: 7

Compression:

Stored size: 488 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)

end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
deas-0.37.1 lib/deas/exceptions.rb
deas-0.37.0 lib/deas/exceptions.rb
deas-0.36.0 lib/deas/exceptions.rb
deas-0.35.0 lib/deas/exceptions.rb
deas-0.34.0 lib/deas/exceptions.rb
deas-0.33.0 lib/deas/exceptions.rb
deas-0.32.0 lib/deas/exceptions.rb