Sha256: 2bad09e94002bb6d5559b85812c0f8c57fdf192bea8502015e161fdca09846b1

Contents?: true

Size: 540 Bytes

Versions: 19

Compression:

Stored size: 540 Bytes

Contents

module Boxes
  # A collection of errors which can be raised by boxes.
  module Errors
    # Base error class for all other errors.
    class BoxesError < StandardError; end

    # Raised when a template is missing.
    class TemplateNotFoundError < BoxesError; end

    # Raised when a script is missing.
    class ScriptNotFoundError < BoxesError; end

    # Raised when an expected argument is missing.
    class MissingArgumentError < BoxesError; end

    # Raised when a build fails.
    class BuildRunError < BoxesError; end
  end
end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
boxes-3.7.0 lib/boxes/errors.rb
boxes-3.6.1 lib/boxes/errors.rb
boxes-3.6.0 lib/boxes/errors.rb
boxes-3.5.0 lib/boxes/errors.rb
boxes-3.4.0 lib/boxes/errors.rb
boxes-3.3.1 lib/boxes/errors.rb
boxes-3.3.0 lib/boxes/errors.rb
boxes-3.2.0 lib/boxes/errors.rb
boxes-3.1.0 lib/boxes/errors.rb
boxes-3.0.0 lib/boxes/errors.rb
boxes-2.5.0 lib/boxes/errors.rb
boxes-2.4.0 lib/boxes/errors.rb
boxes-2.3.0 lib/boxes/errors.rb
boxes-2.2.0 lib/boxes/errors.rb
boxes-2.1.1 lib/boxes/errors.rb
boxes-2.1.0 lib/boxes/errors.rb
boxes-2.0.2 lib/boxes/errors.rb
boxes-2.0.1 lib/boxes/errors.rb
boxes-2.0.0 lib/boxes/errors.rb