Sha256: f648afb934bce23cd97033159e0b73dade658e09fe1c6a13e3aad10d890b7fe2

Contents?: true

Size: 521 Bytes

Versions: 3

Compression:

Stored size: 521 Bytes

Contents

# encoding: utf-8
module Filegen
  # Exceptions
  module Exceptions
    # raised if order arguments are invalid
    class DataSourcesAreInvalid < RuntimeError; end

    # raised if one forgot to tell the script the template name
    class TemplateNameIsMissing < RuntimeError; end

    # raised if template given on commandline does not exist
    class TemplateDoesNotExist < RuntimeError; end

    # raised if one uses an invalid template name (missing erb)
    class TemplateNameIsInvalid < RuntimeError; end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
filegen-0.3.0 lib/filegen/exceptions.rb
filegen-0.2.3 lib/filegen/exceptions.rb
filegen-0.2.2 lib/filegen/exceptions.rb