Sha256: cd02ee696249030a21c978b77eac298186583213cc7efb8dd7b769c0bb2ec385

Contents?: true

Size: 1.27 KB

Versions: 5

Compression:

Stored size: 1.27 KB

Contents

=begin
                  Arachni
  Copyright (c) 2010-2011 Tasos "Zapotek" Laskos <tasos.laskos@gmail.com>

  This is free software; you can copy and distribute and modify
  this program under the term of the GPL v2.0 License
  (See LICENSE file for details)

=end

module Arachni

#
# Arachni::Exceptions module<br/>
# It holds the framework's exceptions.
#
# @author: Tasos "Zapotek" Laskos
#                                      <tasos.laskos@gmail.com>
#                                      <zapotek@segfault.gr>
# @version: 0.1
#
module Exceptions

    def initialize( msg )
        super( msg )
    end


    class NoAuditOpts < StandardError
        include Exceptions

    end

    class NoMods < StandardError
        include Exceptions

    end

    class ComponentNotFound < StandardError
        include Exceptions

    end

    class ModNotFound < StandardError
        include Exceptions

    end

    class DepModNotFound < StandardError
        include Exceptions

    end

    class ReportNotFound < StandardError
        include Exceptions

    end

    class NoURL < StandardError
        include Exceptions

    end

    class InvalidURL < StandardError
        include Exceptions

    end

    class NoCookieJar < StandardError
        include Exceptions

    end

end

end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
arachni-0.3 lib/exceptions.rb
arachni-0.2.4 lib/exceptions.rb
arachni-0.2.3 lib/exceptions.rb
arachni-0.2.2.2 lib/exceptions.rb
arachni-0.2.2.1 lib/exceptions.rb