Sha256: 4e5c624219890bb6e367bc5516038a2ddc83da023cc03d0262a27d9aa8cefadb

Contents?: true

Size: 1.63 KB

Versions: 32

Compression:

Stored size: 1.63 KB

Contents

module Autoproj
    class ConfigError < RuntimeError
        attr_accessor :file
        def initialize(file = nil)
            super
            @file = file
        end
    end
    class InternalError < RuntimeError; end

    # Exception raised when trying to resolve a package name and it failed
    class PackageNotFound < ConfigError
    end

    class InputError < RuntimeError; end

    # Exception raised when a caller requires to use an excluded package
    class ExcludedPackage < ConfigError
        attr_reader :name
        def initialize(name)
            @name = name
        end
    end

    # Exception raised when an unknown package is encountered
    class UnknownPackage < ConfigError
        attr_reader :name
        def initialize(name)
            @name = name
        end
    end

    class MissingOSDep < ConfigError; end

    # Exception raised by
    # PackageSelection#filter_excluded_and_ignored_packages when a given
    # selection is completely excluded
    class ExcludedSelection < ConfigError
        attr_reader :selection
        def initialize(selection)
            @selection = selection
        end
    end

    class UserError < RuntimeError; end

    class WorkspaceAlreadyCreated < RuntimeError; end

    # Exception raised when looking for a workspace and it cannot be found
    class NotWorkspace < RuntimeError; end

    # Exception raised when the autoproj workspace changes and the current
    # workspace is outdated
    class OutdatedWorkspace < RuntimeError; end

    # Exception raised when initializing on a workspace that is not the current
    # one
    class MismatchingWorkspace < RuntimeError; end
end


Version data entries

32 entries across 32 versions & 1 rubygems

Version Path
autoproj-2.0.0.rc37 lib/autoproj/exceptions.rb
autoproj-2.0.0.rc36 lib/autoproj/exceptions.rb
autoproj-2.0.0.rc35 lib/autoproj/exceptions.rb
autoproj-2.0.0.rc34 lib/autoproj/exceptions.rb
autoproj-2.0.0.rc33 lib/autoproj/exceptions.rb
autoproj-2.0.0.rc32 lib/autoproj/exceptions.rb
autoproj-2.0.0.rc31 lib/autoproj/exceptions.rb
autoproj-2.0.0.rc30 lib/autoproj/exceptions.rb
autoproj-2.0.0.rc29 lib/autoproj/exceptions.rb
autoproj-2.0.0.rc28 lib/autoproj/exceptions.rb
autoproj-2.0.0.rc27 lib/autoproj/exceptions.rb
autoproj-2.0.0.rc26 lib/autoproj/exceptions.rb
autoproj-2.0.0.rc25 lib/autoproj/exceptions.rb
autoproj-2.0.0.rc24 lib/autoproj/exceptions.rb
autoproj-2.0.0.rc23 lib/autoproj/exceptions.rb
autoproj-2.0.0.rc22 lib/autoproj/exceptions.rb
autoproj-2.0.0.rc21 lib/autoproj/exceptions.rb
autoproj-2.0.0.rc20 lib/autoproj/exceptions.rb
autoproj-2.0.0.rc19 lib/autoproj/exceptions.rb
autoproj-2.0.0.rc18 lib/autoproj/exceptions.rb