Sha256: b6a2e461b344eab476265665781ee9709b90ef5e5a87ad236e5ab0415035e06c

Contents?: true

Size: 417 Bytes

Versions: 7

Compression:

Stored size: 417 Bytes

Contents

# Thrown when a codepath should never have been allowed
# to occur.  This is useful is signaling that the system
# has some sort of bug in its integration. For example,
# attempting to perform an action that the UI should've
# prevented
class Brut::Framework::Errors::Bug < Brut::Framework::Error
  def initialize(message=nil)
    if message.nil?
      super
    else
      super("BUG: #{message}")
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
brut-0.0.7 lib/brut/framework/errors/bug.rb
brut-0.0.6 lib/brut/framework/errors/bug.rb
brut-0.0.5 lib/brut/framework/errors/bug.rb
brut-0.0.4 lib/brut/framework/errors/bug.rb
brut-0.0.3 lib/brut/framework/errors/bug.rb
brut-0.0.2 lib/brut/framework/errors/bug.rb
brut-0.0.1 lib/brut/framework/errors/bug.rb